Skip to content

Add tentative scroll-state(stuck) for snapshot timing after scroll#58739

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-7691376
Mar 25, 2026
Merged

Add tentative scroll-state(stuck) for snapshot timing after scroll#58739
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-7691376

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Mar 25, 2026

Per HTML spec PR[1], run snapshot post-layout state steps is invoked
after layout for each iteration in the resizeObserver loop. Add a
scroll-state() container query test that makes sure a scroll after the
resizeObserver loop does not take effect until after the style/layout
update in the next resizeObserver loop.

[1] whatwg/html#11613

Bug: 384523570

Change-Id: I9dcf3052db7e04a4c04ecf908d92bb2f85e3d9d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7691376
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1604862}

Per HTML spec PR[1], run snapshot post-layout state steps is invoked
after layout for each iteration in the resizeObserver loop. Add a
scroll-state() container query test that makes sure a scroll after the
resizeObserver loop does not take effect until after the style/layout
update in the next resizeObserver loop.

[1] whatwg/html#11613

Bug: 384523570

Change-Id: I9dcf3052db7e04a4c04ecf908d92bb2f85e3d9d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7691376
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1604862}
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 94b0344 into master Mar 25, 2026
27 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-7691376 branch March 25, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants