[webkit-changes] [WebKit/WebKit] c377f2: [motion-path] Update "<coord-box>" implementation ...

Nikos Mouchtaris noreply at github.com
Thu Aug 31 15:31:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c377f2da36eb80d46bc851a8090f020bab79752f
      https://github.com/WebKit/WebKit/commit/c377f2da36eb80d46bc851a8090f020bab79752f
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    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] Update "<coord-box>" implementation for offset-path
https://bugs.webkit.org/show_bug.cgi?id=260944
rdar://110938788

Reviewed by Tim Nguyen.

Update coord-box to use the containing block's bounding rect if it
 exists. We also need to take into account the containing block's
border radius.

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/MotionPath.cpp:
(WebCore::offsetFromContainer):
(WebCore::MotionPath::motionPathDataForRenderer):
* Source/WebCore/rendering/PathOperation.cpp:
(WebCore::BoxPathOperation::getPath const):
* Source/WebCore/rendering/PathOperation.h:

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




More information about the webkit-changes mailing list