Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 72f431e71d4c849bb458aa7048e2cdf505d35a42
      
https://github.com/WebKit/WebKit/commit/72f431e71d4c849bb458aa7048e2cdf505d35a42
  Author: Matthieu Dubet <[email protected]>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-relative-syntax-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-nesting-expected.txt
    M Source/WebCore/css/CSSGroupingRule.cpp

  Log Message:
  -----------
  [CSS] Fix incorrect nestedContext with CSSOM insertRule()
https://bugs.webkit.org/show_bug.cgi?id=293228
rdar://151604764

Reviewed by Anne van Kesteren.

We need to consider the current rule + its ancestors to find the correct 
nestedContext,
and not only the ancestors.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-relative-syntax-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-nesting-expected.txt:
* Source/WebCore/css/CSSGroupingRule.cpp:
(WebCore::CSSGroupingRule::insertRule):

Canonical link: https://commits.webkit.org/295109@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