| Index: LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html
|
| diff --git a/LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html b/LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2e7a26d8acf53ad9073c5a07f8ebcbdd32ceb68a
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html
|
| @@ -0,0 +1,31 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<style>
|
| + #grid {
|
| + display: grid;
|
| + grid-auto-flow: stack;
|
| + }
|
| + embed {
|
| + position: absolute;
|
| + }
|
| +</style>
|
| +<script type="text/javascript">
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +</script>
|
| +</head>
|
| +<body>
|
| + <p>This test checks that adding a positioned block grid item after an inline grid item (which inserts it inside the
|
| + existing anonymous block wrapping the inline item) does not crash on debug.</p>
|
| + <div id="grid">
|
| + test
|
| + </div>
|
| + <script>
|
| + var grid = document.getElementById("grid");
|
| + grid.offsetTop;
|
| + var embed = document.createElement("embed");
|
| + grid.appendChild(embed);
|
| + </script>
|
| +</body>
|
| +</html>
|
|
|