wpt / svg / extensibility / foreignObject / composited-inside-object.html

Status: PASS | Duration: 6ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/svg/extensibility/foreignObject/composited-inside-object.html

<!doctype HTML>
<title>Compositing inside a non-stacking-context object works.</title>
<link rel="author" title="Chris Harrelson" href="chrishtr@chromium.org">
<link rel="match" href="composited-inside-object-ref.html">
<link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/single-page.html#embedded-ForeignObjectElement"/>

<object style="display: block; backface-visibility:hidden">
  <svg>
    <foreignObject>
      <div style="will-change: transform">Test</div>
    </foreignObject>
  </svg>
</object>

/svg/extensibility/foreignObject/composited-inside-object-ref.html

<!doctype HTML>
<title>Compositing inside a non-stacking-context object works reference</title>
<object style="display: block; backface-visibility:hidden">
  <svg>
    <foreignObject>
      <div>Test</div>
    </foreignObject>
  </svg>
</object>