1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45

content / test / data / accessibility / html / window-crops-items.html [blame]

<!--
@BLINK-ALLOW:pageSize=(1, 1)
@BLINK-ALLOW:pageSize=(1, 150)
@BLINK-ALLOW:pageSize=(300, 1)
@BLINK-ALLOW:pageSize=(208, 58)
@BLINK-ALLOW:size=(300, 150)
@BLINK-ALLOW:name=*
@BLINK-ALLOW:offscreen
-->
<!DOCTYPE html>
<html>
<head>
<style>
button {
  width: 300px;
  height: 150px;
  position: absolute;
}
</style>
</head>

<body>
  <button>
    Button fits
  </button>
  <button style="margin-left:900px;">
    Button offscreen X
  </button>
  <button style="margin-top:900px;">
    Button offscreen Y
  </button>
  <button style="margin-left:700px;margin-top:500px">
    Button partially on screen
  </button>
  <button style="margin:900px;">
    Button offscreen
  </button>
  <button style="margin:-400px;">
    Button offscreen top
  </button>
  <button style="margin-left:-100px;margin-top:-100px">
    Button partially on screen
  </button>
</body>
</html>