Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5bc716038e4a0c790dcf2cdc15255228b7ee4871
https://github.com/WebKit/WebKit/commit/5bc716038e4a0c790dcf2cdc15255228b7ee4871
Author: Chris Dumez <[email protected]>
Date: 2026-04-04 (Sat, 04 Apr 2026)
Changed paths:
M Source/WebCore/css/parser/CSSTokenizer.cpp
Log Message:
-----------
CSSTokenizer::consumeEscape() should compute hex value directly instead of
using StringBuilder
https://bugs.webkit.org/show_bug.cgi?id=311467
Reviewed by Anne van Kesteren.
Avoid allocating a StringBuilder and round-tripping through parseInteger() when
consuming CSS hex escape sequences. Instead, accumulate the code point value
directly using toASCIIHexValue() as each hex digit is consumed.
* Source/WebCore/css/parser/CSSTokenizer.cpp:
(WebCore::CSSTokenizer::consumeEscape):
Canonical link: https://commits.webkit.org/310582@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications