[webkit-changes] [WebKit/WebKit] f6fd65: [motion-path] Have basic shapes use an offset cont...

Nikos Mouchtaris noreply at github.com
Mon Sep 11 09:49:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f6fd650e3830ebe58caebefa3914dd243b19f0ae
      https://github.com/WebKit/WebKit/commit/f6fd650e3830ebe58caebefa3914dd243b19f0ae
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-003.html
    A LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-007-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-007-ref.html
    A LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-007.html
    A LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-ellipse-006-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-ellipse-006-ref.html
    A LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-ellipse-006.html
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-inset-001.html
    M Source/WebCore/rendering/MotionPath.cpp

  Log Message:
  -----------
  [motion-path] Have basic shapes use an offset containing block rect
https://bugs.webkit.org/show_bug.cgi?id=261217
rdar://115068196

Reviewed by Tim Nguyen.

Update basic shapes to use an offset containing block rect in
MotionPath::computePathForShape.

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/MotionPath.cpp:
(WebCore::offsetRectForData):
(WebCore::MotionPath::computePathForBox):
(WebCore::MotionPath::computePathForShape):
* Source/WebCore/rendering/MotionPath.h:
* Source/WebCore/rendering/PathOperation.h:

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




More information about the webkit-changes mailing list