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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/float/float-should-dirty-line-even-when-it-doesnt-intersect-it-2.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/block/float/float-should-dirty-line-even-when-it-doesnt-intersect-it-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/float-should-dirty-line-even-when-it-doesnt-intersect-it-2.html b/third_party/WebKit/LayoutTests/fast/block/float/float-should-dirty-line-even-when-it-doesnt-intersect-it-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..f3aea93f294f78d7e1194b2392149e06b5894943
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/float/float-should-dirty-line-even-when-it-doesnt-intersect-it-2.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<style>
+.float {
+ float:left;
+ clear:left;
+}
+</style>
+<p> crbug.com/616167: There should be a green square below and some text. </p>
+<div class="float">
+ <div style="height: 50px; width: 100px; background-color: green;"></div>
+</div>
+<div class="float" id="float">
+ <div style="display: none; height: 100px; width: 50px;" id="test"></div>
+</div>
+<div class="float">
+ <div style="height: 50px; width: 100px; background-color: green;"></div>
+</div>
+<br>
+Some text for a line
+<br>
+<script>
+document.getElementById("test").style.display = "block";
+document.body.offsetTop;
+document.getElementById("test").style.display = "none";
+</script>

Powered by Google App Engine
This is Rietveld 408576698