Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 55ea3570274437858f12647c3678ae68207e07e2
      
https://github.com/WebKit/WebKit/commit/55ea3570274437858f12647c3678ae68207e07e2
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M Source/WebCore/cssjit/SelectorCompiler.cpp

  Log Message:
  -----------
  [CSS] Deduplicate the identical CSSSelector::Match::Set case in 
SelectorCompiler
https://bugs.webkit.org/show_bug.cgi?id=320618
rdar://183587223

Reviewed by Chris Dumez.

The Match::Set arm of the switch in constructFragmentsInternal() is 
byte-identical
to the Match::Exact/Match::Hyphen arm next to it, ever since bug 141880 moved 
the
case-sensitivity decision into attributeSelectorCaseSensitivity(), which
special-cases Match::Set itself. Fold Set into the existing label group; it 
still
enters below the value().isEmpty() check, which matters because [attr] carries 
no
value.

No change in behavior.

* Source/WebCore/cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::constructFragmentsInternal):

Canonical link: https://commits.webkit.org/318235@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to