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
   46
   47
   48
   49
   50
   51
   52
   53
   54

content / test / data / accessibility / html / bounds-fixed.html [blame]

<!--
@BLINK-ALLOW:size=(200, 200)
@BLINK-ALLOW:size=(160, 50)
@BLINK-ALLOW:pageSize=(200, 200)
@BLINK-ALLOW:pageSize=(160, 50)
@BLINK-ALLOW:unclippedSize=(200, 200)
@BLINK-ALLOW:unclippedSize=(150, 50)
@BLINK-ALLOW:pageLocation=(150, 50)
@BLINK-ALLOW:unclippedLocation=(150, 50)
@BLINK-ALLOW:offscreen;
@BLINK-ALLOW:clipsChildren*
-->
<html>
<head>
<style>
#outer {
  position: fixed;
  top: 100px;
  height: 200px;
  width: 200px;
  background-color: #fe9;
  overflow: hidden;
}

#dialog {
  background-color: #edf;
  position: fixed;
  top: 50px;
  left: 50px;
  width: 200px;
  height: 200px;
  margin-left: 100px;
}

button {
  display: block;
  margin: 20px;
  width: 160px;
  height: 50px;
}

body {
}

</style>
</head>
<body>
<div id="outer">
  <div id="dialog" role="dialog">
    <button>Button 1</button>
    <button>Button 2</button>
  </div>
</div>
</body>