Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / br-with-clear-4.html
blob8f38ae4a85c671ed0ae6da3b7cd208d14a194222
1 <!DOCTYPE html>
2 <style>
3 .green {
4 background: green;
5 float: right;
6 width: 50%;
7 height: 100px;
9 .yellow {
10 background: yellow;
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>
19 </p>
20 <script>
21 document.body.offsetTop;
22 document.querySelector('a').style.fontSize = '1.5em';
23 </script>