-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[view-transitions] Register user agent
@keyframes
rules
https://bugs.webkit.org/show_bug.cgi?id=269504 rdar://123033600 Reviewed by Matthieu Dubet. Add static storage for user agent @Keyframes, and use it for the viewTransitions.css stylesheet. This is the same pattern used as `CounterStyleRegistry::userAgentCounterStyles`. * Source/WebCore/style/StyleResolver.cpp: (WebCore::Style::Resolver::userAgentKeyframes): (WebCore::Style::Resolver::addUserAgentKeyframeStyle): (WebCore::Style::Resolver::isAnimationNameValid): (WebCore::Style::Resolver::keyframeRulesForName const): * Source/WebCore/style/StyleResolver.h: * Source/WebCore/style/UserAgentStyle.cpp: (WebCore::Style::addUserAgentKeyframes): (WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement): Canonical link: https://commits.webkit.org/274789@main
- Loading branch information
Showing
3 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters