OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 #wrapper { | |
4 position: absolute; | |
5 top: 0px; | |
6 left: 0px; | |
7 bottom: 0px; | |
8 right: 0px; | |
9 } | |
10 #child { | |
11 position: relative; | |
12 width: 100px; | |
13 height: 100px; | |
14 top: 50%; | |
15 background-color: green; | |
16 } | |
17 #ref { | |
18 position: absolute; | |
19 width: 100px; | |
20 height: 100px; | |
21 top: 300px; | |
22 left: 0px; | |
23 background-color: red; | |
24 } | |
25 </style> | |
26 <p>crbug.com/61049: There should be no red box below.</p> | |
27 <div id="log"></div> | |
28 <div id="ref"></div> | |
29 <div id="wrapper"> | |
30 <div id="child" data-positioned-offset-y=300></div> | |
mstensho (USE GERRIT)
2016/08/29 16:02:26
I don't like that we make assumptions about the wi
rhogan
2016/08/29 20:36:01
It's about testing a container tree that is auto a
mstensho (USE GERRIT)
2016/08/29 21:04:38
I realize that you want to do that, since the rest
| |
31 </div> | |
32 <script src="../../../resources/check-layout.js"></script> | |
33 <script> | |
34 checkLayout("#child", log); | |
35 </script> | |
OLD | NEW |