Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / br-with-clear-3.html
blob76ff0a715ab01e281d2e4e7ef7d0d10ef108c1eb
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">
19 </p>
20 <script>
21 document.body.offsetTop;
22 document.querySelector('a').style.fontSize = '1.5em';
23 </script>