[webkit-changes] [WebKit/WebKit] 30e04a: offset-path layout with xywh() is wrong

Simon Fraser noreply at github.com
Wed Aug 14 18:37:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30e04a9244c75dd5af9cf2097ffcd79da84a7f9c
      https://github.com/WebKit/WebKit/commit/30e04a9244c75dd5af9cf2097ffcd79da84a7f9c
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/platform/graphics/PathTraversalState.h
    M Source/WebCore/rendering/style/BasicShapes.cpp

  Log Message:
  -----------
  offset-path layout with xywh() is wrong
https://bugs.webkit.org/show_bug.cgi?id=278122
rdar://133877166

Reviewed by Tim Nguyen.

`BasicShapeXywh::path()` failed to apply the x() and y() to the path, resulting
in bad `offset-path` behavior.

* LayoutTests/TestExpectations:
* Source/WebCore/platform/graphics/PathTraversalState.h: Drive-by using #pragma once
* Source/WebCore/rendering/style/BasicShapes.cpp:
(WebCore::BasicShapeXywh::path const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list