[webkit-changes] [WebKit/WebKit] d0b364: [view-transitions] Sort named elements map in pain...

Tim Nguyen noreply at github.com
Sun Feb 25 13:46:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d0b3646c67e1b2ccb0b96adfb7d0002aa2f7bc3a
      https://github.com/WebKit/WebKit/commit/d0b3646c67e1b2ccb0b96adfb7d0002aa2f7bc3a
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2024-02-25 (Sun, 25 Feb 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/platform/glib/TestExpectations
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebCore/dom/ViewTransition.cpp
    M Source/WebCore/rendering/updating/RenderTreeUpdaterViewTransition.cpp

  Log Message:
  -----------
  [view-transitions] Sort named elements map in paint order
https://bugs.webkit.org/show_bug.cgi?id=265832
rdar://119157117

Reviewed by Matt Woodrow.

* LayoutTests/TestExpectations: Unskip newly passing tests.
* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebCore/dom/ViewTransition.cpp: Go through RenderLayer paint order tree instead of DOM tree to get the names.
(WebCore::forEachElementInPaintOrder):
(WebCore::ViewTransition::captureOldState):
(WebCore::ViewTransition::captureNewState):
* Source/WebCore/rendering/updating/RenderTreeUpdaterViewTransition.cpp:
(WebCore::RenderTreeUpdater::ViewTransition::updatePseudoElementTree):

Fix a render tree construction logic bug that was causing duplicate renderers to be created in some specific cases.

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



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


More information about the webkit-changes mailing list