Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: c0d7c64914f1e78f533d5ae4c90d029bbca370e2 https://github.com/WebKit/WebKit/commit/c0d7c64914f1e78f533d5ae4c90d029bbca370e2 Author: Sam Weinig <wei...@apple.com> Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths: M Source/WebCore/css/CSSProperties.json M Source/WebCore/css/parser/CSSPropertyParser.cpp M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp M Source/WebCore/css/parser/CSSPropertyParserHelpers.h Log Message: ----------- Switch the 'perspective' property over to using the generated parser https://bugs.webkit.org/show_bug.cgi?id=249280 Reviewed by Simon Fraser. * Source/WebCore/css/CSSProperties.json: Replace 'custom-parser' with 'parser-grammar'. * Source/WebCore/css/parser/CSSPropertyParser.cpp: (WebCore::CSSPropertyParser::consumePrefixedPerspective): Use generated parser. * Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp: (WebCore::CSSPropertyParserHelpers::consumePerspectiveFunctionArgument): (WebCore::CSSPropertyParserHelpers::consumeTransformValue): (WebCore::CSSPropertyParserHelpers::consumeTransform): (WebCore::CSSPropertyParserHelpers::consumePerspective): Deleted. * Source/WebCore/css/parser/CSSPropertyParserHelpers.h: Remove custom perspective consumer function and replace calls to it with calls to the generated one. Canonical link: https://commits.webkit.org/257926@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes