Bug 284300
| Summary: | [scroll-animations] WPT test scroll-animations/view-timelines/view-timeline-root-source.html is a flaky failure on iOS | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antoine Quint <graouts> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | graouts, koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=284298 | ||
Antoine Quint
The test imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-root-source.html is a flaky failure on iOS following the fix for bug 284298.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/141168977>
Antoine Quint
The timeline current time is sometimes computed as -85.714287% due to the subject having a reported top position of 1200px instead of 250px (observed in the test by using `getBoundingClientRect()`). So this appears to be an issue in our layout code.
Antoine Quint
Interestingly, waiting for an additional two frames after setting `scrollTop` makes the test pass reliably.
Antoine Quint
Oh, I see the target has `margin: 200vh`. Switching to using `margin: 250px` makes the test pass reliably as well.
Antoine Quint
Moving to the CSS component as a result. Might end up being Layout & Rendering, but it feels like a better start.