web-platform-tests / interop

web-platform-tests Interop project
https://wpt.fyi/interop
317 stars 27 forks source link

CSS Scroll Anchoring #826

Open ccpandhare opened 1 month ago

ccpandhare commented 1 month ago

Description

Scroll anchoring is a browser feature that automatically adjusts the scroll position to prevent visible jumps (or "reflows") when content changes above the viewport.

We propose to include the Web platform tests for scroll anchoring in the test suite for Interop 2025.

More information:

Explainer Spec MDN reference

Proposal PoCs: @rich-hansen, @ccpandhare, @mariusschulz

Specification

W3C

Additional Signals

  1. What interop tests if any, each of the 4 impact
  2. Site breakage and workaround
    • Site isn’t broken, but we see material performance and engagement improvements with feed virtualization when scroll anchoring is enabled. “stat-sig reduction in Browser OOM crashes and improvements in 100+ PREQ metrics.”
  3. Size and current state of the feature
    • Size: Not sure, but would guess on the smaller side as it’s behind a feature flag already.
    • Current state: behind a feature flag
  4. Browser bug trackers for this issue
  5. Stack Overflow/blog posts referring to this
jensimmons commented 2 weeks ago

"Enable Scroll Anchoring in Safari" is not an appropriate project for the team behind Interop 2025. If you want the WPT tests of Scroll Anchoring to be part of the tests that are run for Interop 2025, then I'd recommend you change the scope of this proposal to say so. See the description of what the Interop project does for more.

mariusschulz commented 2 weeks ago

Thanks for chiming in, @jensimmons. You're making a good point — let's reframe this proposal.

@ccpandhare, how about we update the title and description to the following:

CSS Scroll Anchoring (Interop 2025 Proposal)

Scroll anchoring is a browser feature that automatically adjusts the scroll position to prevent visible jumps (or "reflows") when content changes above the viewport.

We propose to include the Web platform tests for scroll anchoring in the test suite for Interop 2025.

More information:

ccpandhare commented 2 weeks ago

Thank you for the feedback @jensimmons @mariusschulz, I've updated the proposal!

jensimmons commented 1 week ago

(I took the "(Interop 2025 Proposal)" off the title since the label does that work already. You can see the list of all proposals here: https://github.com/web-platform-tests/interop/labels/focus-area-proposal and the shorter title fits in nicely. Why bother? Because there are many people who are now scrolling through spreadsheets & lists of these titles, and shorter/consistent is very helpful. And thanks!)