[csswg-drafts] Pull Request: [css-view-transitions-1] More precisely define snapshot containing block in subframes #9786

bokand has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-1] More precisely define snapshot containing block in subframes #9786 ==
[css-view-transitions-1] More precisely define snapshot containing block in subframes #9786

The intent of the current definition is that the snapshot containing block in a child frame should be a rect at the origin, the same size as the frame, including any scrollbars.

Initial containing block is misleading in 2 ways - it doesn't include scrollbars in its size and its position changes as the page scrolls so a strict reading would make the snapshot containing block's position dependent on the scroll offset.

I think [viewport](https://www.w3.org/TR/CSS22/visuren.html#viewport) is the better definition here but I believe that excludes scrollbars as well so we explicitly union it with [scrollbar gutters](https://drafts.csswg.org/css-overflow/#scrollbar-gutter-property).

Also, refer to [child navigable](https://html.spec.whatwg.org/multipage/document-sequences.html#child-navigable) rather than iframes since there's no need to limit this to just iframes (e.g. `<fencedframes>`? `<frame>`?)

See https://github.com/w3c/csswg-drafts/pull/10188


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

Received on Tuesday, 9 April 2024 21:12:17 UTC