tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

isolation-with-svg.html (999B)


      1 <!DOCTYPE html>
      2 <title>foreignObject should create an isolated group for svg descendants</title>
      3 <meta name="assert" content="ForeignObject creates a stacking context which is an isolated group, so mix-blend-mode should not be affected by content outside the isolated group." />
      4 <link rel="help" href="https://svgwg.org/svg2-draft/single-page.html#render-EstablishingStackingContex" />
      5 <link rel="help" href="https://drafts.fxtf.org/compositing-2/#csscompositingrules_CSS" />
      6 <link rel="author" title="Philip Rogers" href="mailto:pdr@chromium.org" />
      7 <link rel="match" href="isolation-with-svg-ref.html" />
      8 <svg xmlns="http://www.w3.org/2000/svg" width="200px" height="200px">
      9  <rect x="0" y="0" width="200" height="200" style="fill: yellow" />
     10  <foreignObject width="200" height="200">
     11    <svg xmlns="http://www.w3.org/2000/svg" width="200px" height="200px">
     12      <rect x="0" y="0" width="200" height="200" style="fill: lime; mix-blend-mode: difference" />
     13    </svg>
     14  </foreignObject>
     15 </svg>