[webkit-changes] [WebKit/WebKit] 2f9a2a: [motion-path] Use border radius for coord-box

Nikos Mouchtaris noreply at github.com
Mon Sep 4 15:32:43 PDT 2023


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

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-coord-box-001.html
    A LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-006-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-006.html
    M Source/WebCore/rendering/MotionPath.cpp
    M Source/WebCore/rendering/MotionPath.h
    M Source/WebCore/rendering/PathOperation.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  [motion-path] Use border radius for coord-box
https://bugs.webkit.org/show_bug.cgi?id=261074
rdar://114883507

Reviewed by Tim Nguyen.

Change containingBlockBoundingRect to FloatRoundedRect to take into account the border-radius
property.

* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-coord-box-001.html:
* Source/WebCore/rendering/MotionPath.cpp:
(WebCore::MotionPath::motionPathDataForRenderer):
(WebCore::MotionPath::lengthForRayPath):
(WebCore::MotionPath::computePathForRay):
(WebCore::MotionPath::computePathForBox):
* Source/WebCore/rendering/MotionPath.h:
* Source/WebCore/rendering/PathOperation.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list