Re: [csswg-drafts] [css-contain][filter-effects] paint containment vs filter effects (#6325)

I see, thanks for clarifying your concern.

> That seems to defeat the point of paint containment to me.

I don't think it defeats the point. The point is to contain the paint of the contents (i.e. descendants), not the element itself, so that we don't need to render the contents in order to know whether we need to do that work. We just need to determine the paint bounds of the element.

Determining the paint bounds of the contents is quite expensive, whereas determining the paint bounds of the element is not.

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


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

Received on Tuesday, 22 June 2021 18:27:48 UTC