Title: [286134] trunk/Source/WebCore
- Revision
- 286134
- Author
- [email protected]
- Date
- 2021-11-23 07:47:14 -0800 (Tue, 23 Nov 2021)
Log Message
Add :focus-visible to focus bucket in RuleSet
https://bugs.webkit.org/show_bug.cgi?id=233178
Reviewed by Alan Bujtas.
To use :focus-visible on UA sheet we need to have this basic optimization for it.
* style/RuleSet.cpp:
(WebCore::Style::RuleSet::addRule):
:focus-visible is a strict subset of :focus so this works without other changes.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (286133 => 286134)
--- trunk/Source/WebCore/ChangeLog 2021-11-23 15:01:01 UTC (rev 286133)
+++ trunk/Source/WebCore/ChangeLog 2021-11-23 15:47:14 UTC (rev 286134)
@@ -1,3 +1,17 @@
+2021-11-23 Antti Koivisto <[email protected]>
+
+ Add :focus-visible to focus bucket in RuleSet
+ https://bugs.webkit.org/show_bug.cgi?id=233178
+
+ Reviewed by Alan Bujtas.
+
+ To use :focus-visible on UA sheet we need to have this basic optimization for it.
+
+ * style/RuleSet.cpp:
+ (WebCore::Style::RuleSet::addRule):
+
+ :focus-visible is a strict subset of :focus so this works without other changes.
+
2021-11-23 Alan Bujtas <[email protected]>
[IFC][Integration] Inflate ink overflow with box-shadow
Modified: trunk/Source/WebCore/style/RuleSet.cpp (286133 => 286134)
--- trunk/Source/WebCore/style/RuleSet.cpp 2021-11-23 15:01:01 UTC (rev 286133)
+++ trunk/Source/WebCore/style/RuleSet.cpp 2021-11-23 15:47:14 UTC (rev 286134)
@@ -173,6 +173,7 @@
break;
case CSSSelector::PseudoClassDirectFocus:
case CSSSelector::PseudoClassFocus:
+ case CSSSelector::PseudoClassFocusVisible:
focusSelector = selector;
break;
case CSSSelector::PseudoClassHost:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes