Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f8a6cd85ced97a0d2f33632f3a7b11e96050b30
      
https://github.com/WebKit/WebKit/commit/2f8a6cd85ced97a0d2f33632f3a7b11e96050b30
  Author: Matthieu Dubet <[email protected]>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-focus-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-hover-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-invalidation-expected.txt
    M Source/WebCore/style/RuleFeature.cpp
    M Source/WebCore/style/RuleFeature.h
    M Source/WebCore/style/RuleSet.cpp

  Log Message:
  -----------
  [CSS] @scope invalidation
https://bugs.webkit.org/show_bug.cgi?id=265996
rdar://119313058

Reviewed by Antti Koivisto.

When there is a DOM mutation in an ancestor or itself, we need to
reevaluate if the scope is matching.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-focus-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-hover-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-invalidation-expected.txt:
* Source/WebCore/style/RuleFeature.cpp:
(WebCore::Style::RuleFeatureSet::collectFeatures):
* Source/WebCore/style/RuleFeature.h:
(WebCore::Style::RuleFeatureSet::collectFeatures):
* Source/WebCore/style/RuleSet.cpp:
(WebCore::Style::RuleSet::addRule):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to