[webkit-changes] [WebKit/WebKit] 9eba2e: [CSS Nesting] Rebuild rule set from original (not ...

Matthieu Dubet noreply at github.com
Mon Apr 17 10:28:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9eba2e0de0fb4e8fb6c8f0d52252732deaeff786
      https://github.com/WebKit/WebKit/commit/9eba2e0de0fb4e8fb6c8f0d52252732deaeff786
  Author: Matthieu Dubet <m_dubet at apple.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/invalidation-004-expected.txt
    M Source/WebCore/style/RuleSetBuilder.cpp

  Log Message:
  -----------
  [CSS Nesting] Rebuild rule set from original (not resolved) selector
https://bugs.webkit.org/show_bug.cgi?id=255521
rdar://108137916

Reviewed by Antti Koivisto.

When there is a modification of a selector by CSSOM,
the next resolution should work on the original user-written selector,
not on the previously resolved selector.

* LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/invalidation-004-expected.txt:
* Source/WebCore/style/RuleSetBuilder.cpp:
(WebCore::Style::RuleSetBuilder::resolveSelectorListWithNesting):

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




More information about the webkit-changes mailing list