Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e8c43a921e1dc6236550a9e0321a21908c4649c8
https://github.com/WebKit/WebKit/commit/e8c43a921e1dc6236550a9e0321a21908c4649c8
Author: Sam Weinig <[email protected]>
Date: 2025-06-24 (Tue, 24 Jun 2025)
Changed paths:
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/rendering/RenderTheme.cpp
M Source/WebCore/style/StyleBuilderConverter.h
R Source/WebCore/style/values/box/StyleMargin.cpp
M Source/WebCore/style/values/box/StyleMargin.h
R Source/WebCore/style/values/box/StylePadding.cpp
M Source/WebCore/style/values/box/StylePadding.h
M Source/WebCore/style/values/flexbox/StyleFlexBasis.cpp
M Source/WebCore/style/values/flexbox/StyleFlexBasis.h
R Source/WebCore/style/values/motion/StyleOffsetDistance.cpp
M Source/WebCore/style/values/motion/StyleOffsetDistance.h
R Source/WebCore/style/values/position/StyleInset.cpp
M Source/WebCore/style/values/position/StyleInset.h
A
Source/WebCore/style/values/primitives/StyleLengthWrapper+CSSValueConversion.h
M
Source/WebCore/style/values/primitives/StylePrimitiveKeyword+CSSValueCreation.h
M Source/WebCore/style/values/scroll-snap/StyleScrollPadding.cpp
M Source/WebCore/style/values/scroll-snap/StyleScrollPadding.h
R Source/WebCore/style/values/sizing/StyleMaximumSize.cpp
M Source/WebCore/style/values/sizing/StyleMaximumSize.h
R Source/WebCore/style/values/sizing/StyleMinimumSize.cpp
M Source/WebCore/style/values/sizing/StyleMinimumSize.h
M Source/WebCore/style/values/sizing/StylePreferredSize.cpp
M Source/WebCore/style/values/sizing/StylePreferredSize.h
M Source/WebCore/style/values/svg/StyleSVGPaint.cpp
Log Message:
-----------
[Style] Remove more duplicated code by sharing conversion code for all
Style::LengthWrapperBase subclasses
https://bugs.webkit.org/show_bug.cgi?id=294879
Reviewed by Darin Adler.
Replace type specific CSSValueConversion specialization for with
Style::LengthWrapperBase
subclasses with a single generic implementation that checks for supported flag
values.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/rendering/RenderTheme.cpp:
* Source/WebCore/style/StyleBuilderConverter.h:
* Source/WebCore/style/values/box/StyleMargin.cpp: Removed.
* Source/WebCore/style/values/box/StyleMargin.h:
* Source/WebCore/style/values/box/StylePadding.cpp: Removed.
* Source/WebCore/style/values/box/StylePadding.h:
* Source/WebCore/style/values/flexbox/StyleFlexBasis.cpp:
* Source/WebCore/style/values/flexbox/StyleFlexBasis.h:
* Source/WebCore/style/values/motion/StyleOffsetDistance.cpp: Removed.
* Source/WebCore/style/values/motion/StyleOffsetDistance.h:
* Source/WebCore/style/values/position/StyleInset.cpp: Removed.
* Source/WebCore/style/values/position/StyleInset.h:
*
Source/WebCore/style/values/primitives/StyleLengthWrapper+CSSValueConversion.h:
Added.
* Source/WebCore/style/values/scroll-snap/StyleScrollPadding.cpp:
* Source/WebCore/style/values/scroll-snap/StyleScrollPadding.h:
* Source/WebCore/style/values/sizing/StyleMaximumSize.cpp: Removed.
* Source/WebCore/style/values/sizing/StyleMaximumSize.h:
* Source/WebCore/style/values/sizing/StyleMinimumSize.cpp: Removed.
* Source/WebCore/style/values/sizing/StyleMinimumSize.h:
* Source/WebCore/style/values/sizing/StylePreferredSize.cpp:
* Source/WebCore/style/values/sizing/StylePreferredSize.h:
* Source/WebCore/style/values/svg/StyleSVGPaint.cpp:
Canonical link: https://commits.webkit.org/296572@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