Bug 144826
| Summary: | [css-scroll-snap] Add tests that verify the behavior of 'display: none' | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
| Component: | Scrolling | Assignee: | 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 | ||
Brent Fulgham
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'
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
Also:
3. programmatically change overflow:scroll on ancestors of scroll-snap-coordinate elements
Simon Fraser (smfr)
4. Snapping after layout changes
Chrome does this now: https://web.dev/snap-after-layout/
Radar WebKit Bug Importer
<rdar://problem/60069355>
Martin Robinson
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'.