| Index: third_party/WebKit/LayoutTests/fast/block/float/remove-div-after-float-and-before-anonymous-block-container.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/block/float/remove-div-after-float-and-before-anonymous-block-container.html b/third_party/WebKit/LayoutTests/fast/block/float/remove-div-after-float-and-before-anonymous-block-container.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c0bbc3cccdb6d5efc564b9315cff155e8770594a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/block/float/remove-div-after-float-and-before-anonymous-block-container.html
|
| @@ -0,0 +1,28 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +.block {
|
| + width: 50px;
|
| + height: 25px;
|
| + background-color: green;
|
| +}
|
| +
|
| +.float {
|
| + width: 50px;
|
| + height: 25px;
|
| + background-color: green;
|
| + float: left;
|
| +}
|
| +</style>
|
| +<p>crbug.com/322039: There should be a green <em>square</em> below. In the layout tree the float should be inside the anonymous block.</p>
|
| +<div style="width: 150px;">
|
| + <div class="block"></div>
|
| + <div class="float"></div>
|
| + <div id="div"></div>
|
| + Text.
|
| +</div>
|
| +<script>
|
| + document.body.offsetTop;
|
| + var div = document.getElementById("div");
|
| + div.parentNode.removeChild(div);
|
| +</script>
|
| +
|
|
|