position-svg-root-in-foreign-object.html (593B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>SVG: svg root child of foreignObject should be positionable</title> 4 <link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org"> 5 <link rel="help" href="https://svgwg.org/svg2-draft/embedded.html#ForeignObjectElement"> 6 <link rel="match" href="position-svg-root-in-foreign-object-ref.html"> 7 <p>You should see the word PASS and no red below.</p> 8 <svg> 9 <foreignObject width="200" height="200"> 10 PASS 11 <svg style="position:absolute; left: -1000px; width:100px; height: 100px; background: red"></svg> 12 </foreignObject> 13 </svg>