[webkit-changes] [WebKit/WebKit] 322ba5: Update @font-palette-values override-colors order
Darin Adler
noreply at github.com
Sun Oct 16 09:42:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 322ba50011a5c8ed120e80de0037c95076590111
https://github.com/WebKit/WebKit/commit/322ba50011a5c8ed120e80de0037c95076590111
Author: Darin Adler <darin at apple.com>
Date: 2022-10-16 (Sun, 16 Oct 2022)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
Log Message:
-----------
Update @font-palette-values override-colors order
https://bugs.webkit.org/show_bug.cgi?id=246565
rdar://problem/101216288
Reviewed by Tim Nguyen.
* LayoutTests/TestExpectations: Removed failure expectation.
* Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::addAttributesForCustomFontPalettes): Use CFDictionarySetValue, which overwrites
existing values, resulting in "last one wins".
Canonical link: https://commits.webkit.org/255604@main
More information about the webkit-changes
mailing list