Chromium Code Reviews| Index: LayoutTests/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box.html |
| diff --git a/LayoutTests/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box.html b/LayoutTests/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..151f4bb50d2de77456fe4908726dd3f2ef515b8b |
| --- /dev/null |
| +++ b/LayoutTests/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE html> |
|
mstensho (USE GERRIT)
2015/09/15 11:47:30
The test looks fine. But could you add an foo-expe
|
| +<style> |
| +#a, #d { |
| + display: inline-block; |
| +} |
| +#b, #c { |
| + width:25px; |
| + height:50px; |
| + background: blue; |
| + float: left; |
| +} |
| +</style> |
| +<p>There should be a blue <em>square</em> below.</p> |
| +<div id="container"> |
| + <div></div><div id="a"></div><div></div><div id="b"></div><div id="c"></div> |
| +</div> |
| +<script> |
| + document.body.offsetTop; |
| + var inline = document.createElement('div'); |
| + inline.setAttribute("id", "d"); |
| + container.insertBefore(inline, document.getElementById("c")); |
| +</script> |