Once :focus-visible is implemented we should change the default style sheet to use it instead of :-webkit-direct-focus.
Ideally it should keep the same behavior than :-webkit-direct-focus once the following CSSWG issue is resolved:
Otherwise we'll need to think about what we should do here.
Selectors and HTML specs indicate this:
Chromium and Firefox already do this.
Once we do this, we'll probably want to add a similar optimization to the one we have for :focus in RuleSet and ElementRuleCollector.
This was part of a previous patch but wasn't merged yet as it was not needed from the functionality POV, see comments at https://bugs.webkit.org/show_bug.cgi?id=222028 for more details: