[webkit-changes] [WebKit/WebKit] 2f740d: `font-variant: small-caps normal; ` should be inval...
NathanSolomon733
noreply at github.com
Fri Aug 16 14:29:37 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2f740da85dda4f1930e6e49de3ac3b38e34c8f8a
https://github.com/WebKit/WebKit/commit/2f740da85dda4f1930e6e49de3ac3b38e34c8f8a
Author: Nathan Solomon <nathan_solomon at apple.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-variant-invalid-expected.txt
M Source/WebCore/css/parser/CSSPropertyParser.cpp
Log Message:
-----------
`font-variant: small-caps normal;` should be invalid syntax
https://bugs.webkit.org/show_bug.cgi?id=248128
rdar://102679841
Reviewed by Matthieu Dubet.
Add a check for the "normal" keyword when parsing font-variant values to make the parse invalid if "normal" is used with other values.
* LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-variant-invalid-expected.txt:
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::consumeFontVariantShorthand):
Canonical link: https://commits.webkit.org/282368@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