Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

bokand
Copy link
Contributor

@bokand bokand commented Apr 9, 2024

[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 is the better definition here but I believe that excludes scrollbars as well so we explicitly union it with scrollbar gutters.

Also, refer to child navigable rather than iframes since there's no need to limit this to just iframes (e.g. <fencedframes>? <frame>?)

@bokand bokand requested review from khushalsagar and noamr and removed request for khushalsagar April 9, 2024 21:12
Copy link
Member

@khushalsagar khushalsagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nt1m fyi.

@bokand bokand merged commit a2eaf45 into w3c:main Apr 10, 2024
1 check passed
@bokand bokand deleted the scbIframes branch April 10, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants