Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bc80fb418ccb803fdc3708ab1b5a0f28f5a06328
      
https://github.com/WebKit/WebKit/commit/bc80fb418ccb803fdc3708ab1b5a0f28f5a06328
  Author: Matt Woodrow <mattwood...@apple.com>
  Date:   2025-06-08 (Sun, 08 Jun 2025)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/fractional-translation-from-transform.html
    M Source/WebCore/dom/ViewTransition.cpp
    M Source/WebCore/rendering/RenderObject.cpp
    M Source/WebCore/rendering/RenderObject.h

  Log Message:
  -----------
  css/css-view-transitions/fractional-translation-from-transform.html fails due 
to pixel snapping differences.
https://bugs.webkit.org/show_bug.cgi?id=293756

Reviewed by Tim Nguyen.

The view-transition transform gets snapped to match rendering, but this should
only happen for offsets, not transforms.

Return the computed TransformState from captured element to root, and only snap
if it's an offset, not a transform.

* LayoutTests/TestExpectations:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/fractional-translation-from-transform.html:
* Source/WebCore/dom/ViewTransition.cpp:
(WebCore::ViewTransition::copyElementBaseProperties):
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::RenderObject::viewTransitionTransform const):
* Source/WebCore/rendering/RenderObject.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to