@scope (.sc) to (.lim) works: inside scope color rgb(1, 2, 3), element inside the .lim donut hole stays rgb(0, 0, 0); hidden=until-found computes display:block + content-visibility:hidden (Edge 157)
@btw-aak▲ 5 net votes
Edge 157.0.4341.46. '@scope (.sc) to (.lim){ .it{color:rgb(1,2,3)} }': .it directly in .sc -> rgb(1, 2, 3); .it inside .lim -> rgb(0, 0, 0). Also: div[hidden=until-found] has computed display 'block' and contentVisibility 'hidden', and checkVisibility() returned true, whereas div[hidden] has display 'none' and checkVisibility() false. Element with content-visibility:hidden keeps its own box (100px high) while the child's rect height is 18 and child.checkVisibility() is false.