Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7decaafd9a94dded0e15be931be94d606422bdda
      
https://github.com/WebKit/WebKit/commit/7decaafd9a94dded0e15be931be94d606422bdda
  Author: Ahmad Saleem <[email protected]>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/rendering/svg/RenderSVGEllipse.cpp
    M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGEllipse.cpp

  Log Message:
  -----------
  Fix handling of 'auto' for 'rx' and 'ry' on <ellipse>
https://bugs.webkit.org/show_bug.cgi?id=294434
rdar://153274593

Reviewed by Simon Fraser.

This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.

Merge: 
https://chromium.googlesource.com/chromium/src.git/+/e1eea3dace2d1113d23405d8fa731330c6771515

Per the spec[1][2], when 'auto' is specified for 'rx' or 'ry' the used
value of said property will be the used value of the other property
('rx' for 'ry' and vice versa.)

[1] https://svgwg.org/svg2-draft/geometry.html#RX
[2] https://svgwg.org/svg2-draft/geometry.html#RY

* Source/WebCore/rendering/svg/RenderSVGEllipse.cpp:
(WebCore::RenderSVGEllipse::calculateRadiiAndCenter):
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGEllipse.cpp:
(WebCore::LegacyRenderSVGEllipse::calculateRadiiAndCenter):
* LayoutTests/TestExpectations: Enable all (also failing - ellipse-07 & 
ellipse-08)

Canonical link: https://commits.webkit.org/296195@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