Index: third_party/WebKit/LayoutTests/svg/foreignObject/overflow-clip-in-hidden-container-crash.html |
diff --git a/third_party/WebKit/LayoutTests/svg/foreignObject/overflow-clip-in-hidden-container-crash.html b/third_party/WebKit/LayoutTests/svg/foreignObject/overflow-clip-in-hidden-container-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..615470e730e1512aa3945c9c8f069aa8d835cc9a |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/foreignObject/overflow-clip-in-hidden-container-crash.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<!-- |
+ Tests that an element with an overflow clip inside a LayoutSVGHiddenContainer |
+ can be laid out without crashing. This entails that we create a PaintLayer, |
+ since the layout code assumes that overflow clip gets a scrollable area. |
+ --> |
+<svg> |
+ <clipPath id="c"></clipPath> |
+</svg> |
+<p>PASS: did not crash.</p> |
+<script> |
+ c.createShadowRoot().innerHTML = "<foreignObject><input>"; |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |