OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <p>The word "PASS" should be seen in the bottom left corner of the viewport, and there should be no crash or assertion failure.</p> | |
3 <div style="position:relative; background:lime;"> | |
mstensho (USE GERRIT)
2015/06/16 14:22:36
No need for the background color.
kojii
2015/06/16 18:56:20
Done.
| |
4 <div id="elm" style="transform:rotate(3deg); position:absolute;"> | |
5 <div id="child" style="position:fixed; bottom:0;">PASS</div> | |
6 </div> | |
7 </div> | |
8 <script> | |
9 document.body.offsetTop; | |
10 document.getElementById("elm").style.transform = "none"; | |
11 document.body.offsetTop; | |
12 document.getElementById("child").style.width = "50%"; | |
13 </script> | |
OLD | NEW |