OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 .green { | |
4 background: green; | |
5 float: right; | |
6 width: 50%; | |
7 height: 100px; | |
8 } | |
9 .yellow { | |
10 background: yellow; | |
11 } | |
12 </style> | |
13 <p>Test passes if the height of yellow box is identical with that of green box.< /p> | |
14 <div class='green'>Floating box</div> | |
15 <p class='yellow'> | |
16 <a href='#'>Anchor</a><br> | |
17 Text line. | |
18 <br style="clear:both"><span></span> | |
leviw_travelin_and_unemployed
2015/05/11 00:25:29
I think it'd be nice if you combined these test ca
changseok
2015/05/11 15:56:46
I didn't know the check-layout.js. Let me try to u
| |
19 </p> | |
20 <script> | |
21 window.onload = function() { | |
22 document.body.offsetTop; | |
23 document.querySelector('a').style.fontSize = '1.5em'; | |
24 } | |
25 </script> | |
OLD | NEW |