Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f740da85dda4f1930e6e49de3ac3b38e34c8f8a
      
https://github.com/WebKit/WebKit/commit/2f740da85dda4f1930e6e49de3ac3b38e34c8f8a
  Author: Nathan Solomon <[email protected]>
  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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to