[webkit-changes] [WebKit/WebKit] 165f4f: font-tech() should not validate descriptor for any...

Vitor Roriz noreply at github.com
Thu Jul 13 07:36:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 165f4f7106fc71ccbe3ed921e7fa1ea048339b49
      https://github.com/WebKit/WebKit/commit/165f4f7106fc71ccbe3ed921e7fa1ea048339b49
  Author: Vitor Roriz <vitor.roriz at apple.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-face-src-tech-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-face-src-tech.html
    M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp

  Log Message:
  -----------
  font-tech() should not validate descriptor for any invalid item
https://bugs.webkit.org/show_bug.cgi?id=258948
rdar://112020474

Reviewed by Cameron McCormack.

If any value in font-tech() list is not valid we should invalidate the src
item. Before we were invalidating it only if all values were not valid.

* LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-face-src-tech-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-face-src-tech.html:
* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeFontTech):

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




More information about the webkit-changes mailing list