Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e84a617b4b4d0088df770ae59385090500d8c5f6
      
https://github.com/WebKit/WebKit/commit/e84a617b4b4d0088df770ae59385090500d8c5f6
  Author: Matthieu Dubet <m_du...@apple.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M LayoutTests/fast/css/scope-at-rule-expected.html
    M LayoutTests/fast/css/scope-at-rule.html
    M Source/WebCore/style/ElementRuleCollector.cpp

  Log Message:
  -----------
  [CSS] Remove invalid scoping roots when outside the <scope-end>
https://bugs.webkit.org/show_bug.cgi?id=266771
rdar://119998989

Reviewed by Antti Koivisto.

When there are multiple scoping roots identified from the <scope-start>,
only keep the relevant ones to the <scope-end> if it exists.

* LayoutTests/fast/css/scope-at-rule-expected.html:
* LayoutTests/fast/css/scope-at-rule.html:
* Source/WebCore/style/ElementRuleCollector.cpp:
(WebCore::Style::ElementRuleCollector::scopeRulesMatch):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to