Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1018d623d264210b31a11083daee2a90a17a5558
https://github.com/WebKit/WebKit/commit/1018d623d264210b31a11083daee2a90a17a5558
Author: lilly <[email protected]>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/platform/graphics/CornerShapeUtilities.cpp
M Source/WebCore/platform/graphics/FloatSize.h
Log Message:
-----------
corner-shape: Implement bevel case in CornerShapeUtilities
https://bugs.webkit.org/show_bug.cgi?id=318730
rdar://181533057
Reviewed by Simon Fraser.
Implement the CSS Borders Level 4 'corner-shape' property for the bevel
(superellipse parameter s = 0), per
https://drafts.csswg.org/css-borders-4/#corner-shaping. A box with
'corner-shape: bevel' and a border-radius now renders its border,
background, and outline with beveled corners instead of round.
Passes tests written in another commit
* LayoutTests/TestExpectations:
* Source/WebCore/platform/graphics/CornerShapeUtilities.cpp:
* Source/WebCore/platform/graphics/FloatSize.h:
(WebCore::FloatSize::directionScaledBy const):
Canonical link: https://commits.webkit.org/316722@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications