Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

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