-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[Style] Convert border-radius to use strong style types #47196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Style] Convert border-radius to use strong style types #47196
Conversation
EWS run on previous version of this PR (hash dcc8818) |
dcc8818
to
74ee280
Compare
EWS run on previous version of this PR (hash 74ee280) |
74ee280
to
4cf04bd
Compare
EWS run on previous version of this PR (hash 4cf04bd) |
4cf04bd
to
a117bb9
Compare
EWS run on previous version of this PR (hash a117bb9) |
Safer C++ Build #41638 (a117bb9)❌ Found 1 failing file with 3 issues. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
a117bb9
to
2c9aa1c
Compare
EWS run on previous version of this PR (hash 2c9aa1c) |
Safer C++ Build #41691 (2c9aa1c)❌ Found 1 failing file with 3 issues. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
2c9aa1c
to
7b24a1c
Compare
EWS run on previous version of this PR (hash 7b24a1c) |
Safer C++ Build #41710 (7b24a1c)❌ Found 1 failing file with 2 issues. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
7b24a1c
to
afebce5
Compare
EWS run on previous version of this PR (hash afebce5) |
Source/WebCore/style/values/primitives/StylePrimitiveNumeric+Forward.h
Outdated
Show resolved
Hide resolved
Source/WebCore/style/values/primitives/StylePrimitiveNumeric+Forward.h
Outdated
Show resolved
Hide resolved
Source/WebCore/style/values/primitives/StylePrimitiveNumeric+Forward.h
Outdated
Show resolved
Hide resolved
Source/WebCore/style/values/primitives/StylePrimitiveNumeric+Forward.h
Outdated
Show resolved
Hide resolved
afebce5
to
6d78adc
Compare
EWS run on current version of this PR (hash 6d78adc) |
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
6d78adc
to
0104cc3
Compare
Committed 296770@main (0104cc3): https://commits.webkit.org/296770@main Reviewed commits have been landed. Closing PR #47196 and removing active labels. |
0104cc3
6d78adc