Changeset 286134 in webkit
- Timestamp:
- Nov 23, 2021, 7:47:14 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
style/RuleSet.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r286133 r286134 1 2021-11-23 Antti Koivisto <antti@apple.com> 2 3 Add :focus-visible to focus bucket in RuleSet 4 https://bugs.webkit.org/show_bug.cgi?id=233178 5 6 Reviewed by Alan Bujtas. 7 8 To use :focus-visible on UA sheet we need to have this basic optimization for it. 9 10 * style/RuleSet.cpp: 11 (WebCore::Style::RuleSet::addRule): 12 13 :focus-visible is a strict subset of :focus so this works without other changes. 14 1 15 2021-11-23 Alan Bujtas <zalan@apple.com> 2 16 -
trunk/Source/WebCore/style/RuleSet.cpp
r285100 r286134 174 174 case CSSSelector::PseudoClassDirectFocus: 175 175 case CSSSelector::PseudoClassFocus: 176 case CSSSelector::PseudoClassFocusVisible: 176 177 focusSelector = selector; 177 178 break;
Note:
See TracChangeset
for help on using the changeset viewer.