Index: third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-after-anonymous-block.html |
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-after-anonymous-block.html b/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-after-anonymous-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc3cda65299bc30dbc6727858fa9af30ebbecd38 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-after-anonymous-block.html |
@@ -0,0 +1,27 @@ |
+<!DOCTYPE html> |
+<style> |
+.float |
+{ |
+ float: left; |
+ width: 25px; |
+ height: 50px; |
+ background-color: green; |
+} |
+.inline-block |
+{ |
+ width: 25px; |
+ height: 50px; |
+ background-color: green; |
+ display: inline-block; |
+} |
+</style> |
+<p>crbug.com/523282: There should be a green <em>square</em> below.</p> |
+<div> |
+ <div class="inline-block"></div> |
+ <div id="first"></div> |
+ <div class="float"></div> |
+</div> |
+<script> |
+ document.body.offsetTop; |
+ document.getElementById("first").style.display = "inline-block"; |
+</script> |