[webkit-changes] [WebKit/WebKit] 5c26ae: [motion-path] Update "<basic-shape>" implementatio...

Nikos Mouchtaris noreply at github.com
Fri Sep 1 10:02:28 PDT 2023


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

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-001.html
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-004.html
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-005.html
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-ellipse-001.html
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-ellipse-003.html
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-ellipse-004.html
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-ellipse-005.html
    R LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-expected.html
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-polygon-001.html
    R LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape.html
    M Source/WebCore/rendering/MotionPath.cpp
    M Source/WebCore/rendering/PathOperation.h

  Log Message:
  -----------
  [motion-path] Update "<basic-shape>" implementation for offset-path
https://bugs.webkit.org/show_bug.cgi?id=259994
rdar://110565070

Reviewed by Tim Nguyen.

Update ShapePathOperation to use the containing block's rect.

* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-001.html:
* Source/WebCore/rendering/PathOperation.h:
(WebCore::PathOperation::setContainingBlockReferenceRect):
(WebCore::PathOperation::PathOperation):
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::setReferenceBoxForPathOperations):

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




More information about the webkit-changes mailing list