Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/float/float-should-dirty-line-even-when-it-doesnt-intersect-it-3.html

Issue 2046863006: Dirty line boxes correctly when a float gets layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@618230
Patch Set: Updated Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .float {
4 float:left;
5 clear:left;
6 }
7 </style>
8 <p> crbug.com/616167: There should be a green square below and some text. </p>
9 Some text for a line
10 <br>
11 <div class="float">
12 <div style="height: 50px; width: 100px; background-color: green;"></div>
13 </div>
14 <div class="float" id="float">
15 <div style="display: none; height: 100px; width: 50px;" id="test"></div>
16 </div>
17 <div class="float">
18 <div style="height: 50px; width: 100px; background-color: green;"></div>
19 </div>
20 <br>
21 Some text for a line
22 <br>
23 <script>
24 document.getElementById("test").style.display = "block";
25 document.body.offsetTop;
26 document.getElementById("test").style.display = "none";
27 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698