Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0104cc3c5a1172346ea4510603a8de0556803c66
https://github.com/WebKit/WebKit/commit/0104cc3c5a1172346ea4510603a8de0556803c66
Author: Sam Weinig <[email protected]>
Date: 2025-06-28 (Sat, 28 Jun 2025)
Changed paths:
A
LayoutTests/fast/css/shrink-wrap-border-radius-with-calc-crash-expected.txt
A LayoutTests/fast/css/shrink-wrap-border-radius-with-calc-crash.html
M Source/WebCore/Headers.cmake
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/values/CSSValueAggregates.h
R
Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+CSSValueConversions.h
M Source/WebCore/platform/graphics/PathUtilities.cpp
M Source/WebCore/platform/graphics/PathUtilities.h
M Source/WebCore/rendering/BorderPainter.cpp
M Source/WebCore/rendering/BorderShape.cpp
M Source/WebCore/rendering/RenderElement.cpp
M Source/WebCore/rendering/adwaita/RenderThemeAdwaita.cpp
M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm
M Source/WebCore/rendering/ios/RenderThemeIOS.mm
M Source/WebCore/rendering/mac/RenderThemeMac.mm
M Source/WebCore/rendering/shapes/LayoutShape.cpp
M Source/WebCore/rendering/style/BorderData.cpp
M Source/WebCore/rendering/style/BorderData.h
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/rendering/style/RenderStyleInlines.h
M Source/WebCore/rendering/style/RenderStyleSetters.h
M Source/WebCore/style/StyleBuilderChecking.h
M Source/WebCore/style/StyleBuilderConverter.h
M Source/WebCore/style/StyleBuilderCustom.h
M Source/WebCore/style/StyleExtractorConverter.h
M Source/WebCore/style/StyleExtractorCustom.h
M Source/WebCore/style/StyleExtractorSerializer.h
M Source/WebCore/style/StyleInterpolationWrappers.h
M Source/WebCore/style/StyleResolveForFont.cpp
M Source/WebCore/style/values/StyleValueTypes.h
M Source/WebCore/style/values/borders/StyleBorderRadius.cpp
M Source/WebCore/style/values/borders/StyleBorderRadius.h
M Source/WebCore/style/values/borders/StyleCornerShapeValue.h
A Source/WebCore/style/values/primitives/StylePrimitiveNumeric+Forward.h
M Source/WebCore/style/values/primitives/StylePrimitiveNumeric.h
A
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+CSSValueConversion.h
M
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Evaluation.h
M Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/UIProcess/ios/WKTapHighlightView.mm
M Source/WebKitLegacy/ios/Misc/WebUIKitSupport.mm
Log Message:
-----------
[Style] Convert border-radius to use strong style types
https://bugs.webkit.org/show_bug.cgi?id=294982
Reviewed by Darin Adler.
Converts border radius in BorderData to use a strong style type, taking
advantage of the existing work done for the radii of CSS shapes, tweaking
it a bit by adopting RectCorners directly.
To allow forward declaring style primitive types, we now have
them declared in a new minimal "StylePrimitiveNumeric+Forward.h"
which can be included in headers without bloat.
Fixes issue with path shrink-wrapping code that assumed border-radius
was always fixed.
* LayoutTests/fast/css/shrink-wrap-border-radius-with-calc-crash-expected.txt:
Added.
* LayoutTests/fast/css/shrink-wrap-border-radius-with-calc-crash.html: Added.
* Source/WebCore/Headers.cmake:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/values/CSSValueAggregates.h:
* Source/WebCore/platform/graphics/PathUtilities.cpp:
* Source/WebCore/platform/graphics/PathUtilities.h:
* Source/WebCore/rendering/BorderPainter.cpp:
* Source/WebCore/rendering/BorderShape.cpp:
* Source/WebCore/rendering/RenderElement.cpp:
* Source/WebCore/rendering/adwaita/RenderThemeAdwaita.cpp:
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
* Source/WebCore/rendering/ios/RenderThemeIOS.mm:
* Source/WebCore/rendering/mac/RenderThemeMac.mm:
* Source/WebCore/rendering/shapes/LayoutShape.cpp:
* Source/WebCore/rendering/style/BorderData.cpp:
* Source/WebCore/rendering/style/BorderData.h:
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleInlines.h:
* Source/WebCore/rendering/style/RenderStyleSetters.h:
* Source/WebCore/style/StyleBuilderConverter.h:
* Source/WebCore/style/StyleBuilderCustom.h:
* Source/WebCore/style/StyleExtractorConverter.h:
* Source/WebCore/style/StyleExtractorCustom.h:
* Source/WebCore/style/StyleExtractorSerializer.h:
* Source/WebCore/style/StyleInterpolationWrappers.h:
* Source/WebCore/style/values/StyleValueTypes.h:
* Source/WebCore/style/values/borders/StyleBorderRadius.cpp:
* Source/WebCore/style/values/borders/StyleBorderRadius.h:
* Source/WebCore/style/values/borders/StyleCornerShapeValue.h:
* Source/WebCore/style/values/primitives/StylePrimitiveNumeric+Forward.h: Added.
* Source/WebCore/style/values/primitives/StylePrimitiveNumeric.h:
*
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+CSSValueConversion.h:
Added.
*
Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Evaluation.h:
* Source/WebCore/style/values/primitives/StyleUnevaluatedCalculation.cpp:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/UIProcess/ios/WKTapHighlightView.mm:
* Source/WebKitLegacy/ios/Misc/WebUIKitSupport.mm:
Canonical link: https://commits.webkit.org/296770@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