Bug 300697
| Summary: | [css-values] recompute animation keyframes if tree-counting functions are used | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | Animations | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ahmad.saleem792, graouts, sam, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Tim Nguyen (:ntim)
If the number of DOM sibling changes in the middle of keyframes, we should re-compute `sibling-count()` and `sibling-index()`.
https://wpt.fyi/results/css/css-values/tree-counting?label=master&label=experimental&aligned&q=keyframe
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/162599649>
Antoine Quint
294062@main will be relevant here.
Antoine Quint
We have an existing system to determine whether a style change should require keyframes to be recomputed, see KeyframeEffect::recomputeKeyframesIfNecessary(). The question is whether comparing two `RenderStyle` objects will give us sufficient context to know when those functions would resolve to different values.
Ahmad Saleem
I didn't notice this bug before fixing it as separate, so now duping to other.
*** This bug has been marked as a duplicate of bug 314376 ***