Re: [csswg-drafts] [css-contain] content-visibility: auto and SVG-as-image (#10347)

Doesn't the SVG width and height define a viewport for `content-visibility` within that image?

This is essentially what Chromium does: anytime we paint an SVG, we set a "viewport" on it into which we paint and update all of its rendering as if that was the viewport (including intersection observer determination for c-v).

/cc @progers 

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


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

Received on Tuesday, 21 May 2024 21:01:24 UTC