| Index: LayoutTests/fast/block/do-not-strip-anonymous-blocks-when-block-child-becomes-float-and-anonymous-blocks-have-inline-children.html
|
| diff --git a/LayoutTests/fast/block/do-not-strip-anonymous-blocks-when-block-child-becomes-float-and-anonymous-blocks-have-inline-children.html b/LayoutTests/fast/block/do-not-strip-anonymous-blocks-when-block-child-becomes-float-and-anonymous-blocks-have-inline-children.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..772d22727379c1e9b5ec273872051a89498d044a
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/block/do-not-strip-anonymous-blocks-when-block-child-becomes-float-and-anonymous-blocks-have-inline-children.html
|
| @@ -0,0 +1,38 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| + .fixed { position: fixed; }
|
| + .col { -webkit-column-span: all; }
|
| + .colcount:nth-child(2n) { -webkit-column-count: 1; }
|
| + .colcount { padding-left: 65536px; }
|
| +</style>
|
| +<script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| + function boom() {
|
| + var nav = document.createElement('nav');
|
| + nav.setAttribute('class', 'col');
|
| + div.appendChild(nav);
|
| + document.body.offsetTop;
|
| +
|
| + dt.parentNode.removeChild(dt);
|
| +
|
| + var p = document.createElement('p');
|
| + div.appendChild(p);
|
| + document.body.offsetTop;
|
| +
|
| + var text = document.createTextNode('88');
|
| + div.appendChild(text);
|
| +
|
| + p.setAttribute("class", "fixed");
|
| +
|
| + var command = document.createElement('command');
|
| + command.setAttribute('class', 'colcount');
|
| + nav.appendChild(command);
|
| + }
|
| + window.onload = boom;
|
| +</script>
|
| +<p></p>
|
| +<dt id="dt"></dt>
|
| +<p></p>
|
| +<div class="colcount" id="div"></div>
|
| +<p> When a block element becomes positioned or float we should not strip anonymous blocks wrapping its siblings if any of their children are inline.</p>
|
|
|