blob: fd32d2a961efc8f474a1c5f745602719ab775bb2 [file] [log] [blame]
<!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="help" href="https://svgwg.org/svg2-draft/embedded.html#ForeignObjectElement">
<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>