<!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> |