| Summary: | [Web Animations] getKeyframes() for a CSS Animation should not use computed style for keyframes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Antoine Quint <graouts> | ||||
| Component: | Animations | Assignee: | Antoine Quint <graouts> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | darin, dino, 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=235021 https://bugs.webkit.org/show_bug.cgi?id=235028 |
||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 235138 | ||||||
| Attachments: |
|
||||||
|
Description
Antoine Quint
2022-01-08 14:40:20 PST
Created attachment 448683 [details]
Patch
Committed r287820 (245872@trunk): <https://commits.webkit.org/245872@trunk> Comment on attachment 448683 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=448683&action=review > Source/WebCore/style/StyleResolver.h:142 > + const Vector<Ref<StyleRuleKeyframe>> keyframeRulesForName(const AtomString&); There signature here isn’t quite right. This should be a const member function and it should return a non-const Vector: Vector<Ref<StyleRuleKeyframe>> keyframeRulesForName(const AtomString&) const; (In reply to Darin Adler from comment #4) > Comment on attachment 448683 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=448683&action=review > > > Source/WebCore/style/StyleResolver.h:142 > > + const Vector<Ref<StyleRuleKeyframe>> keyframeRulesForName(const AtomString&); > > There signature here isn’t quite right. This should be a const member > function and it should return a non-const Vector: > > Vector<Ref<StyleRuleKeyframe>> keyframeRulesForName(const AtomString&) > const; Filed bug 235021 to fix this. We'll fix more of this in bug 235028. |