Index: LayoutTests/fast/css-grid-layout/grid-element-embed-crash.html |
diff --git a/LayoutTests/fast/css-grid-layout/grid-element-embed-crash.html b/LayoutTests/fast/css-grid-layout/grid-element-embed-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1a6db7d380e48451e5e5461e3e4f9d8a4c917975 |
--- /dev/null |
+++ b/LayoutTests/fast/css-grid-layout/grid-element-embed-crash.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<style> |
+* { |
+ margin-right:2vw; |
+} |
+body { |
+ display:grid; |
+ grid-auto-flow:row stack; |
+} |
+</style> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |
+<body>The test checks that embedded elements don't leave stale pointers into the grid representation. |
+ <embed>This test has passed if it didn't crash.</embed> |
+</body> |
+ |