Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 584435072314fb9d4bf474c633b6d9af270cae75 https://github.com/WebKit/WebKit/commit/584435072314fb9d4bf474c633b6d9af270cae75 Author: Sam Weinig <s...@webkit.org> Date: 2025-03-24 (Mon, 24 Mar 2025)
Changed paths: M Source/WebCore/Sources.txt M Source/WebCore/WebCore.xcodeproj/project.pbxproj M Source/WebCore/css/parser/CSSParserImpl.cpp M Source/WebCore/css/parser/CSSPropertyParser.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Angle.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Angle.h R Source/WebCore/css/parser/CSSPropertyParserConsumer+AnglePercentage.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+AnglePercentage.h M Source/WebCore/css/parser/CSSPropertyParserConsumer+Animations.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Background.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Box.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Color.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+CounterStyles.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Easing.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Grid.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Image.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Inline.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Inset.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Integer.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Integer.h R Source/WebCore/css/parser/CSSPropertyParserConsumer+Length.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Length.h R Source/WebCore/css/parser/CSSPropertyParserConsumer+LengthPercentage.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+LengthPercentage.h M Source/WebCore/css/parser/CSSPropertyParserConsumer+Lists.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Masking.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Motion.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Number.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Number.h M Source/WebCore/css/parser/CSSPropertyParserConsumer+Percentage.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Percentage.h M Source/WebCore/css/parser/CSSPropertyParserConsumer+Position.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Resolution.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Resolution.h M Source/WebCore/css/parser/CSSPropertyParserConsumer+SVG.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+TextDecoration.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Time.cpp R Source/WebCore/css/parser/CSSPropertyParserConsumer+Time.h M Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.cpp M Source/WebCore/css/parser/CSSPropertyParserConsumer+UI.cpp M Source/WebCore/css/query/GenericMediaQueryParser.cpp M Source/WebCore/css/scripts/test/TestCSSPropertiesResults/CSSPropertyParsing.cpp A Source/WebCore/css/scripts/test/TestCSSPropertiesResults/CSSStyleProperties+PropertyNames.idl M Source/WebCore/page/IntersectionObserver.cpp Log Message: ----------- Replace remaining uses of consume*() functions for primitive numeric types with direct usage of CSSPrimitiveValueResolver https://bugs.webkit.org/show_bug.cgi?id=290260 Reviewed by Antti Koivisto and Darin Adler. Replace remaining uses of consume*() functions for primitive numeric types with direct usage of CSSPrimitiveValueResolver. This makes clear where the non-standard usages are and will make a future step of passing state down more straightforward. consumePercentageDividedBy100OrNumber() remains for now, but will also be replaced in the near future. * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/css/parser/CSSParserImpl.cpp: * Source/WebCore/css/parser/CSSPropertyParser.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Angle.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Angle.h: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+AnglePercentage.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+AnglePercentage.h: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Animations.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Background.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Box.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Color.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+CounterStyles.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Easing.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Grid.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Image.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Inline.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Inset.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Integer.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Integer.h: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Length.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Length.h: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+LengthPercentage.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+LengthPercentage.h: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Lists.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Masking.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Motion.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Number.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Number.h: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Page.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Percentage.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Percentage.h: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Position.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Ratio.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Resolution.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Resolution.h: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+SVG.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+TextDecoration.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Time.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Time.h: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Transform.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+UI.cpp: * Source/WebCore/css/query/GenericMediaQueryParser.cpp: * Source/WebCore/page/IntersectionObserver.cpp: Canonical link: https://commits.webkit.org/292600@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes