Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transforms/crashtests/preserve3d-svg-foreign-object-hit-test.svg - WPT Dashboard Interop Dashboard
<g id="testmeta">
<title>CSS Test (Transforms): preserve-3d on foreignObject and hit test</title>
<html:meta name="assert" content="This should not crash." />
</g>
<style>
foreignObject {
display:table;
overflow:auto;
transform-style:preserve-3d;
}
</style>
<foreignObject width="200" height="200"></foreignObject>
<script>
document.elementFromPoint(100, 100);
</script>
</svg>