Bug 144826

Summary: [css-scroll-snap] Add tests that verify the behavior of 'display: none'
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: ScrollingAssignee: Wenson Hsieh <wenson_hsieh>
Status: NEW ---    
Severity: Normal CC: agafvv, bfulgham, mrobinson, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 218115    

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
Also:

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
<rdar://problem/60069355>
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'.