Index: LayoutTests/fast/block/float/trailing-float.html |
diff --git a/LayoutTests/fast/block/float/trailing-float.html b/LayoutTests/fast/block/float/trailing-float.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc71b19ef4dd9baa0199cc8cb0dd1cd18e9f3a0f |
--- /dev/null |
+++ b/LayoutTests/fast/block/float/trailing-float.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<p>crbug.com/487775: There should be a green square below (and no assertion failures).</p> |
+<div> |
+ <div id="firstChild" style="display:inline-block; width:100px;"></div> |
+ <div style="display:inline-block; width:100%; height:100px;"></div> |
+ <div style="float:left; width:100px; height:100px; background:green;"></div> |
+</div> |
+<script> |
+ onload = function() { |
+ document.body.offsetTop; |
+ document.getElementById("firstChild").style.width = "101px"; |
+ } |
+</script> |