haikuwebkit/Source/WebCore/platform/cocoa
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
..
AGXCompilerService.cpp
AGXCompilerService.h
ContentFilterUnblockHandlerCocoa.mm
CoreVideoSoftLink.cpp Using a video as a source for a WebGL texture is slow and hangs on iOS 15 2021-06-24 14:38:17 +00:00
CoreVideoSoftLink.h
DragDataCocoa.mm
DragImageCocoa.mm
FileMonitorCocoa.mm
KeyEventCocoa.h
KeyEventCocoa.mm
LocalCurrentGraphicsContext.h
LocalizedStringsCocoa.mm
LowPowerModeNotifier.mm
MIMETypeRegistryCocoa.mm
MediaUtilities.cpp Not all uses of AudioToolbox framework use soft linking 2021-06-28 12:29:37 +00:00
MediaUtilities.h
NetworkExtensionContentFilter.h
NetworkExtensionContentFilter.mm
ParentalControlsContentFilter.h
ParentalControlsContentFilter.mm
PasteboardCocoa.mm
PasteboardCustomDataCocoa.mm
PlatformPasteboardCocoa.mm
PlatformView.h
PlaybackSessionModel.h
PlaybackSessionModelMediaElement.h
PlaybackSessionModelMediaElement.mm [iOS] REGRESSION(r279720): changing Subtitles to Off doesn't hide them or do anything 2021-07-14 18:39:14 +00:00
PowerSourceNotifier.h
PowerSourceNotifier.mm
RemoteCommandListenerCocoa.h
RemoteCommandListenerCocoa.mm
RuntimeApplicationChecksCocoa.mm
SearchPopupMenuCocoa.h
SearchPopupMenuCocoa.mm
SharedBufferCocoa.mm
SystemBattery.h
SystemBattery.mm
SystemVersion.h
SystemVersion.mm
TelephoneNumberDetectorCocoa.cpp
ThemeCocoa.h
ThemeCocoa.mm
UserAgentCocoa.mm
VersionChecks.h [Cocoa] Stop honoring any dot-prefixed font names 2021-08-20 04:07:08 +00:00
VersionChecks.mm
VideoFullscreenChangeObserver.h
VideoFullscreenModel.h
VideoFullscreenModelVideoElement.h
VideoFullscreenModelVideoElement.mm Backgrounding and returning to a FaceTime call in MobileSafari leads to a blank black sreen 2021-06-27 19:17:19 +00:00
VideoToolboxSoftLink.cpp
VideoToolboxSoftLink.h
WebCoreAdditions.mm
WebCoreNSErrorExtras.h
WebCoreNSErrorExtras.mm
WebKitAvailability.h