wpt / svg / extensibility / foreignObject / foreign-object-containing-svg-in-svg-in-object.html

Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/svg/extensibility/foreignObject/foreign-object-containing-svg-in-svg-in-object.html

<!doctype html>
<title>An &lt;svg> wrapped in a &lt;foreignObject> in an &lt;object></title>
<link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/single-page.html#embedded-ForeignObjectElement"/>
<link rel="match" href="../../struct/reftests/reference/green-100x100.html">
<object data="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>
  <foreignObject width='100' height='100'>
    <div xmlns='http://www.w3.org/1999/xhtml' style='display: flex'>
      <div>
        <svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>
          <rect width='100' height='100' fill='green'/>
        </svg>
      </div>
    </div>
  </foreignObject>
</svg>"></object>

/svg/struct/reftests/reference/green-100x100.html

<!DOCTYPE html>
<div style="width: 100px; height: 100px; background-color: green"></div>