Bug 240268
Summary: | [Cocoa] fast/text/international/generic-font-family-language-traditional.html is failing due to language minimization | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
Component: | Text | Assignee: | Myles C. Maxfield <mmaxfield> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, mmaxfield, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Chris Dumez
fast/text/international/generic-font-family-language-traditional.html is failing due to language minimization.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/93394618>
Myles C. Maxfield
cachedUserPrefersSimplified() should probably say
static bool cached = computeUserPrefersSimplified();
instead of
static bool cached = false;
Myles C. Maxfield
This is kind of interesting. We're saying the language list ["en", "zh-tw"] gets minimized to ["en"], which then removes the signal about whether we should render simplified or traditional Chinese.
On one hand, this is kind of good, because the whole point of minimization is to make different browser configurations in the same bucket as identical. On the other hand, it means a user with these language preferences won't get the rendering they expect.
I could change the test to just use the language list ["zh-tw"] and I think it would still test the thing it's trying to test, so I guess that's probably the path forward.
🤔
Myles C. Maxfield
*** Bug 240751 has been marked as a duplicate of this bug. ***
Myles C. Maxfield
*** Bug 240751 has been marked as a duplicate of this bug. ***
Myles C. Maxfield
Landed in https://commits.webkit.org/250878@main.