[webkit-changes] [WebKit/WebKit] caa9d1: [Font] Fix "system-ui" font family within <canvas>

Matthieu Dubet noreply at github.com
Fri Oct 27 16:14:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: caa9d18f36b5f59249e81102072195b4212cf8a5
      https://github.com/WebKit/WebKit/commit/caa9d18f36b5f59249e81102072195b4212cf8a5
  Author: Matthieu Dubet <m_dubet at apple.com>
  Date:   2023-10-27 (Fri, 27 Oct 2023)

  Changed paths:
    A LayoutTests/fast/canvas/font-family-system-ui-canvas-expected-mismatch.html
    A LayoutTests/fast/canvas/font-family-system-ui-canvas.html
    M LayoutTests/platform/gtk/TestExpectations
    M LayoutTests/platform/wpe/TestExpectations
    M Source/WebCore/style/StyleResolveForFontRaw.cpp

  Log Message:
  -----------
  [Font] Fix "system-ui" font family within <canvas>
https://bugs.webkit.org/show_bug.cgi?id=263719
rdar://117231545

Reviewed by Tim Nguyen.

The "system-ui" font family is expected down the line (in /platform code)
to be a string like a user font and not the CSS prefixed keyword.

* LayoutTests/fast/canvas/font-family-system-ui-canvas-expected-mismatch.html: Added.
* LayoutTests/fast/canvas/font-family-system-ui-canvas.html: Added.
* LayoutTests/platform/gtk/TestExpectations:
* LayoutTests/platform/wpe/TestExpectations:
* Source/WebCore/style/StyleResolveForFontRaw.cpp:
(WebCore::Style::resolveForFontRaw):

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




More information about the webkit-changes mailing list