| Index: third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block.html b/third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2fe35d2b70ad27f478223e05110e85c640ac9625
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +#container {
|
| + text-indent: -300px;
|
| + width: 300px;
|
| +}
|
| +
|
| +</style>
|
| +<p>crbug.com/627149: Collapse away nested anonymous blocks. There should be no text below.</p>
|
| +<button id="container">
|
| + <span id="span">Text.</span>
|
| +</button>
|
| +<script>
|
| + var container = document.getElementById('container');
|
| + var div = document.createElement('div');
|
| + container.insertBefore(div, document.getElementById('span'));
|
| + document.body.offsetTop;
|
| + container.removeChild(div);
|
| +</script>
|
|
|