Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-remove-positioned-item.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-remove-positioned-item.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-remove-positioned-item.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ef24085dc97dc8f57d277c2157a0a497afe9dae7 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-remove-positioned-item.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |
+<p>crbug.com/700383 - [css-grid] Grid layouts go mostly blank</p> |
+<p>This test has PASSED if it does not CRASH on debug.</p> |
+<div id="grid" style="display: grid;"> |
+ <div>item</div> |
+ <div id="abspositem" style="position: absolute;"></div> |
+</div> |
+<script> |
+ document.body.offsetLeft; |
+ document.getElementById("grid").removeChild(document.getElementById("abspositem")); |
svillar
2017/03/15 10:03:54
Don't we need a test for the case of adding an abs
Manuel Rego
2017/03/15 10:59:26
Actually that part was not crashing before,
but as
|
+</script> |