Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 684ed1f48d9b6791319b1e40dda2f239348b9618
      
https://github.com/WebKit/WebKit/commit/684ed1f48d9b6791319b1e40dda2f239348b9618
  Author: Antti Koivisto <[email protected]>
  Date:   2025-05-24 (Sat, 24 May 2025)

  Changed paths:
    A LayoutTests/fast/selectors/nested-declaration-crash-expected.txt
    A LayoutTests/fast/selectors/nested-declaration-crash.html
    M Source/WebCore/style/RuleSetBuilder.cpp

  Log Message:
  -----------
  Crash in SelectorChecker::attributeSelectorMatches
https://bugs.webkit.org/show_bug.cgi?id=290102
rdar://147274140

Reviewed by Alan Baradlay and Matthieu Dubet.

* LayoutTests/fast/selectors/nested-declaration-crash-expected.txt: Added.
* LayoutTests/fast/selectors/nested-declaration-crash.html: Added.
* Source/WebCore/style/RuleSetBuilder.cpp:
(WebCore::Style::RuleSetBuilder::addStyleRule):

Selector list in StyleRuleNestedDeclarations must not be mutated when nesting 
resolution is disabled,
same as with regular StyleRules.

Originally-landed-as: 289651.299@safari-7621-branch (5db513ab60a3). 
rdar://151709573
Canonical link: https://commits.webkit.org/295397@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to