Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9b942dffc4a2e4391e95ecc49fe00c24d5a5dd06
      
https://github.com/WebKit/WebKit/commit/9b942dffc4a2e4391e95ecc49fe00c24d5a5dd06
  Author: Darin Adler <da...@apple.com>
  Date:   2022-11-06 (Sun, 06 Nov 2022)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-face-src-format-expected.txt
    M Source/WebCore/css/CSSValueKeywords.in
    M Source/WebCore/css/parser/CSSPropertyParserWorkerSafe.cpp

  Log Message:
  -----------
  @font-face src descriptor format allows only identifiers for specified 
formats, others are a parse error
https://bugs.webkit.org/show_bug.cgi?id=247552
rdar://problem/102018015

Reviewed by Sam Weinig.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-face-src-format-expected.txt:
Expect more PASS.

* Source/WebCore/css/CSSValueKeywords.in: Added the keywords for all the 
formats in the specification.

* Source/WebCore/css/parser/CSSPropertyParserWorkerSafe.cpp:
(WebCore::CSSPropertyParserHelpersWorkerSafe::consumeFontFaceSrcURI): Allow 
only keywords for known formats.

Canonical link: https://commits.webkit.org/256382@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to