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> |