haikuwebkit/Source/WTF/wtf/spi/darwin
Myles C. Maxfield e1537965a7 [Cocoa] Stop honoring any dot-prefixed font names
https://bugs.webkit.org/show_bug.cgi?id=228177

Reviewed by Sam Weinig.

Source/WebCore:

Dot-prefixed fonts are intentionally unsupported. We should stop supporting them.
If authors want to access the various system fonts, they can use system-ui,
ui-serif, ui-monospace, or ui-rounded.

Test: fast/text/font-lookup-dot-prefix-case-sensitive.html

* platform/cocoa/VersionChecks.h:
* platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::isDotPrefixedForbiddenFont):
(WebCore::platformFontLookupWithFamily):

LayoutTests:

* fast/text/font-lookup-dot-prefix-case-sensitive-expected.html: Renamed from LayoutTests/fast/text/font-lookup-dot-prefix-case-sensitive-expected-mismatch.html.
* platform/ios/TestExpectations:
* platform/mac/TestExpectations:

Canonical link: https://commits.webkit.org/240717@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-20 04:07:08 +00:00
..
CodeSignSPI.h REGRESSION (r278877) [Cocoa] WebAuthn stopped working for non-Safari browsers 2021-07-29 22:12:16 +00:00
DataVaultSPI.h
DispatchSPI.h
OSVariantSPI.h
ProcessMemoryFootprint.h
SandboxSPI.h Add sandbox extension flag to specify that path contains no symlinks 2021-05-06 18:40:03 +00:00
XPCSPI.h Do some hardening in XPCServiceEventHandler() 2021-06-10 18:54:31 +00:00
dyldSPI.h [Cocoa] Stop honoring any dot-prefixed font names 2021-08-20 04:07:08 +00:00