Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ba8ea84b32beb946bf501e6440b2efd1545f8128
      
https://github.com/WebKit/WebKit/commit/ba8ea84b32beb946bf501e6440b2efd1545f8128
  Author: Alan Baradlay <[email protected]>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-horizontal-rtl-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-horizontal-rtl-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-horizontal-rtl.html
    M Source/WebCore/rendering/shapes/RasterLayoutShape.cpp

  Log Message:
  -----------
  [shape-outside] Gradient based shape-outside floating fails when rtl is 
applied
https://bugs.webkit.org/show_bug.cgi?id=296186

Reviewed by Simon Fraser.

IFC expects logical float coordinates for shapes while RasterLayoutShape 
provides physical.
This change aligns RasterLayoutShape::getExcludedInterval's logic with other 
type of shapes, see RectangleLayoutShape::getExcludedInterval.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/reference/shape-outside-linear-gradient-horizontal-rtl-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-horizontal-rtl-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-horizontal-rtl.html:
 Added.
* Source/WebCore/rendering/shapes/RasterLayoutShape.cpp:
(WebCore::RasterLayoutShape::getExcludedInterval const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to