haikuwebkit/LayoutTests/svg
Myles C. Maxfield 2e35f7f8a9 [Cocoa] Stop treating the system font as a non-variable font
https://bugs.webkit.org/show_bug.cgi?id=228176

Reviewed by Sam Weinig.

Source/WebCore:

Modern versions of macOS and iOS can treat the system font as a variable font,
and be able to apply weights like "342" instead of just "300" or "400".

Tests: fast/text/variable-system-font-2.html
       fast/text/variable-system-font.html

* platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::preparePlatformFont):

Source/WTF:

* wtf/PlatformUse.h:

LayoutTests:

Update tests.

* fast/text/resources/Ahem-trak.ttf: Added. This is a font which has a trak table.
* fast/text/trak-optimizeLegibility-expected-mismatch.html: Added.
* fast/text/trak-optimizeLegibility-expected.txt: Removed.
* fast/text/trak-optimizeLegibility.html:
* fast/text/variable-system-font-2-expected-mismatch.html: Added.
* fast/text/variable-system-font-2.html: Added.
* fast/text/variable-system-font-expected-mismatch.html: Added.
* fast/text/variable-system-font.html: Added.
* svg/dom/altGlyph-dom-expected.txt:
* svg/dom/resources/altGlyph-dom.js:

Canonical link: https://commits.webkit.org/240715@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-20 03:21:05 +00:00
..
W3C-I18N
W3C-SVG-1.1 [LayoutTests] Delete unused LayoutTests/svg resources 2021-05-21 18:11:26 +00:00
W3C-SVG-1.1-SE [SVG2]: Remove the SVGExternalResourcesRequired interface 2019-10-19 01:18:17 +00:00
W3C-SVG-1.2-Tiny
animations SVG paced value animations overwrite user-provided keyTimes 2021-04-13 08:05:24 +00:00
as-background-image
as-border-image
as-image [LayoutTests] Delete unused LayoutTests/svg resources 2021-05-21 18:11:26 +00:00
as-list-image
as-object
batik
canvas [BigSur wk1] svg/canvas/canvas-global-alpha-svg.html is flakey failing 2021-04-16 20:55:48 +00:00
carto.net
clip-path
css Removing the transform CSS property from the SVG element does not cause invalidation 2021-05-12 20:13:55 +00:00
custom Document's execCommand() / queryCommand*() should throw an exception on non-HTML/XHTML documents 2021-06-17 05:39:51 +00:00
dom [Cocoa] Stop treating the system font as a non-variable font 2021-08-20 03:21:05 +00:00
dynamic-updates Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
filters
foreignObject Crash in RenderBlock::addOverflowFromChildren 2021-04-14 15:13:36 +00:00
gradients
hittest
hixie
in-html
masking
overflow Outline does not clip when ancestor has overflow: hidden and requires layer. 2016-02-08 00:33:40 +00:00
paint-order
repaint
stroke
text Document's execCommand() / queryCommand*() should throw an exception on non-HTML/XHTML documents 2021-06-17 05:39:51 +00:00
transforms
webarchive
wicd
zoom
animated-svgImage-scroll-expected.txt
animated-svgImage-scroll.html
load-event-detached-expected.txt
load-event-detached.html
outermost-svg-root-expected.txt Crash in RenderBlock::addOverflowFromChildren 2021-04-14 15:13:36 +00:00
outermost-svg-root.html Crash in RenderBlock::addOverflowFromChildren 2021-04-14 15:13:36 +00:00
path-arc-invalid-expected.txt
path-arc-invalid.html