[webkit-changes] [WebKit/WebKit] 1f96e1: CSSParserFastPaths should treat rgb() and rgba() a...
roberto-apple
noreply at github.com
Fri Jan 17 05:32:14 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1f96e1bf6bd0a4a1ffa84b01c50aa5639a357c9b
https://github.com/WebKit/WebKit/commit/1f96e1bf6bd0a4a1ffa84b01c50aa5639a357c9b
Author: Roberto Rodriguez <roberto_rodriguez2 at apple.com>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/css/parser/CSSParserFastPaths.cpp
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
A Tools/TestWebKitAPI/Tests/WebCore/CSSParserFastPaths.cpp
Log Message:
-----------
CSSParserFastPaths should treat rgb() and rgba() as synonyms
https://bugs.webkit.org/show_bug.cgi?id=276761
rdar://132458382
Reviewed by Matthieu Dubet and Tim Nguyen.
Combine the existing parsing logic for both rgb() and rgba() and treat
them as aliases
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/parser/CSSParserFastPaths.cpp:
(WebCore::parseNumericColor):
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebCore/CSSParserFastPaths.cpp: Added.
(TestWebKitAPI::TEST(CSSParserFastPaths, ParseNumericColor)):
Canonical link: https://commits.webkit.org/289053@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list