Bug 144826 - [css-scroll-snap] Add tests that verify the behavior of 'display: none'
Summary: [css-scroll-snap] Add tests that verify the behavior of 'display: none'
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Wenson Hsieh
Keywords: BrowserCompat, InRadar
Depends on:
Blocks: 218115
  Show dependency treegraph
Reported: 2015-05-08 22:53 PDT by Brent Fulgham
Modified: 2021-07-07 07:34 PDT (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2015-05-08 22:53:12 PDT
Add tests to confirm that the scroll snap logic properly handles the following:
1. Inserting/removing elements into an existing scrollable region with snap points.
2. Marking elements 'display:none'
Comment 1 Brent Fulgham 2015-06-16 14:30:58 PDT

3. programmatically change overflow:scroll on ancestors of scroll-snap-coordinate elements
Comment 2 Simon Fraser (smfr) 2020-03-04 19:53:46 PST
4. Snapping after layout changes

Chrome does this now: https://web.dev/snap-after-layout/
Comment 3 Radar WebKit Bug Importer 2020-03-04 19:54:08 PST
Comment 4 Martin Robinson 2021-07-07 07:20:48 PDT
I believe that 1, 3, and 4 are currently covered, but there are no tests to check the behavior of css-scroll-snap when elements have 'display:none'.