Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 60a6419541bf7f3af43e2df260ccf6d10bf4e68d
      
https://github.com/WebKit/WebKit/commit/60a6419541bf7f3af43e2df260ccf6d10bf4e68d
  Author: Tim Nguyen <[email protected]>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/transformed-element-scroll-transform-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/transformed-element-scroll-transform-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/transformed-element-scroll-transform.html
    M Source/WebCore/dom/ViewTransition.cpp

  Log Message:
  -----------
  [view-transitions] Misplaced arrows after scrolling then transitioning on 
https://codepen.io/bramus/full/xxmozvN
https://bugs.webkit.org/show_bug.cgi?id=275506
rdar://129866645

Reviewed by Matt Woodrow.

The scroll position translation was being applied before the element rotation, 
causing the capture to be offset on the wrong axis when scrolled.

Use translateRight() method to make sure the translation is applied last.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/transformed-element-scroll-transform-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/transformed-element-scroll-transform-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/transformed-element-scroll-transform.html:
 Added.
* Source/WebCore/dom/ViewTransition.cpp:
(WebCore::ViewTransition::copyElementBaseProperties):

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