Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-remove-positioned-item.html

Issue 2748983003: [css-grid] Fix crash removing positioned grid item (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698