Re: [csswg-drafts] [css-view-transitions-1] Clarifications on stacking contexts (#8917)

> The root group, or the root element group? My read is that it is indeed the root group, which is an ancestor of the root element group that paints the filter.

You're right that it's specified as the "root element group". (It's been a few years it's hard to keep all these subtleties in my head.)

But the root element is not the same as the HTML element. There is an element representing the document itself, which is the parent of the HTML and top layer elements. In Blink that's called the LayoutView. In WebKit I think it's called the Render view. That's the place to which the background, filter etc are lifted.

The root group, on the other hand, is a final step for compositing that makes sure pixels from web pages are not blending with OS colors (or at least that browsers generally don't do so). For iframes the root group is transparent because it blends with the parent document's colors.

I think I got it right this time... :)

-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8917#issuecomment-2052006962 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 12 April 2024 15:43:19 UTC