Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-into-anonymous-block-container.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-into-anonymous-block-container.html b/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-into-anonymous-block-container.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6ea607cae8ba6e0584b278c157a15fbdd21a44e9 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-into-anonymous-block-container.html |
| @@ -0,0 +1,27 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +.block { |
| + width: 25px; |
| + height: 50px; |
| + background-color: green; |
| +} |
| + |
| +.float { |
| + width: 25px; |
| + height: 50px; |
| + background-color: green; |
| + display: inline; |
|
mstensho (USE GERRIT)
2015/10/29 20:00:26
Not needed. 'float' overrides this to 'block'.
|
| + float: left; |
| +} |
| +</style> |
| +<p>crbug.com/322039: There should be a green <em>square</em> below.</p> |
| +<div> |
| + <br> |
| + <div id="first" class="block"></div> |
| + <div class="float"></div> |
| +</div> |
| +<script> |
| + document.body.offsetTop; |
| + document.getElementById("first").style.display = "inline-block"; |
| +</script> |
| + |