Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8be67bb856d275e88daaf93bb7c851f446590687
https://github.com/WebKit/WebKit/commit/8be67bb856d275e88daaf93bb7c851f446590687
Author: lilly <[email protected]>
Date: 2026-07-20 (Mon, 20 Jul 2026)
Changed paths:
M Source/WebCore/platform/graphics/CornerShapeUtilities.cpp
M Source/WebCore/platform/graphics/CornerShapeUtilities.h
M Source/WebCore/rendering/BorderShape.cpp
Log Message:
-----------
corner-shape: Implement superellipse case
https://bugs.webkit.org/show_bug.cgi?id=319759
rdar://182652113
Reviewed by Simon Fraser.
Implements the general superellipse family of CSS corner-shape values
(squircle, superellipse(n), and the concave scoop/notch-adjacent cases)
in CornerShapeUtilities, both for the outer contour and for the inner border
edge.
Passes tests written for another commit
* Source/WebCore/platform/graphics/CornerShapeUtilities.cpp:
(WebCore::borderContourPath):
* Source/WebCore/platform/graphics/CornerShapeUtilities.h:
* Source/WebCore/rendering/BorderShape.cpp:
(WebCore::addInnerCornerShapeToPath):
Canonical link: https://commits.webkit.org/317560@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications