Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/testing/web-platform/tests/css/css-transforms/crashtests/preserve3d-svg-foreign-object-hit-test.svg
<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>