Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.1

0.6.1 / tests / libweb / Ref / input / wpt-import / svg / styling / use-element-non-rendered-has-selector.html

<!DOCTYPE html>
<title>SVG Test: CSS selector matching non-rendered descendant with :has() in &lt;use&gt; element tree</title>
<link rel="help" href="https://svgwg.org/svg2-draft/struct.html#UseElement">
<link rel="match" href="../../../../expected/wpt-import/svg/styling/use-element-selector-ref.html">
<style>
  #rect:has(defs) { fill: green; }
</style>
<svg>
  <use id="use_elm" xlink:href="#group" />
  <defs>
    <g id="group">
      <rect id="rect" width="100" height="100">
        <defs></defs>
      </rect>
    </g>
  </defs>
</svg>