Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 51b3f019cd6229304d6d56c4577ba622518b64ed
      
https://github.com/WebKit/WebKit/commit/51b3f019cd6229304d6d56c4577ba622518b64ed
  Author: Chris Dumez <[email protected]>
  Date:   2026-01-06 (Tue, 06 Jan 2026)

  Changed paths:
    M Source/WebCore/css/CSSSelector.h
    M Source/WebCore/css/CSSSelectorList.cpp
    M Source/WebCore/css/CSSSelectorList.h
    M Source/WebCore/css/StyleRule.cpp

  Log Message:
  -----------
  Add a new constructor to CSSSelectorList so StyleRule doesn't need to know 
about its internals
https://bugs.webkit.org/show_bug.cgi?id=304980

Reviewed by Darin Adler.

Add a new constructor to CSSSelectorList so StyleRule doesn't need to
know about its internals. This results in better encapsulation.

* Source/WebCore/css/CSSSelector.h:
(WebCore::CSSSelector::isLastInComplexSelector const):
(WebCore::CSSSelector::setLastInSelectorList):
* Source/WebCore/css/CSSSelectorList.cpp:
(WebCore::CSSSelectorList::CSSSelectorList):
* Source/WebCore/css/CSSSelectorList.h:
(WebCore::CSSSelectorList::CSSSelectorList):
* Source/WebCore/css/StyleRule.cpp:
(WebCore::StyleRule::createForSplitting):

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



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

Reply via email to