Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5f6c6dcc515e4ffda76b737405e048cfb3b04f1e
      
https://github.com/WebKit/WebKit/commit/5f6c6dcc515e4ffda76b737405e048cfb3b04f1e
  Author: Luke Warlow <[email protected]>
  Date:   2026-06-17 (Wed, 17 Jun 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/continue-css-animation-left-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/continue-css-animation-transform-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/css-transition-trigger-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/moveBefore-selector-matching-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/moveBefore-size-query-expected.txt
    M Source/WebCore/dom/Node.cpp
    M Source/WebCore/dom/Node.h

  Log Message:
  -----------
  moveBefore() needs to invalidate tree based styles
https://bugs.webkit.org/show_bug.cgi?id=316310

Reviewed by Ryosuke Niwa.

This updates Node::movingSteps() to trigger a style invalidation for
SubtreeInvalid. This causes numerous more tests to pass.

* LayoutTests/TestExpectations:
* 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/continue-css-animation-left-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/continue-css-animation-transform-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/css-transition-trigger-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/moveBefore-selector-matching-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/dom/nodes/moveBefore/moveBefore-size-query-expected.txt:
* Source/WebCore/dom/Node.cpp:
(WebCore::Node::movingSteps):
* Source/WebCore/dom/Node.h:
(WebCore::Node::movingSteps): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to