1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23

content / test / data / accessibility / html / iframe-padding.html [blame]

<!--
@BLINK-ALLOW:pageSize=(300, 100)
@BLINK-ALLOW:pageSize=(250, 50)

Only allow these locations, which are not the locations of button's children
inside an iframe. The locations of button's children inside an iframe have
slight variances across different platforms.
@BLINK-ALLOW:pageLocation=(0, 0)
@BLINK-ALLOW:pageLocation=(25, 25)
@BLINK-ALLOW:pageLocation=(30, 230)
@BLINK-ALLOW:pageLocation=(55, 255)
-->
<!DOCTYPE html>
<html>
<body style="padding: 0; margin: 0; width: 800px; height: 800px">
  <div>
    <iframe width=300 height=100 src="frame/button.html" style="position: absolute; left: 0; top: 0; border: 0; padding: 0; margin: 0;"></iframe>
  </div>
  <div>
    <iframe width=300 height=100 src="frame/button2.html" style="position: absolute; left: 0; top: 200px; border: 5px solid #ccf; padding: 25px; margin: 0;"></iframe>
    </div>
</body>
</html>