Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/extensibility/foreignObject/position-svg-root-in-foreign-object.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>SVG: svg root child of foreignObject should be positionable</title>
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
<link rel="match" href="position-svg-root-in-foreign-object-ref.html">
<p>You should see the word PASS and no red below.</p>
<svg>
<foreignObject width="200" height="200">
PASS
<svg style="position:absolute; left: -1000px; width:100px; height: 100px; background: red"></svg>
</foreignObject>
</svg>