Skip to content
Browse files
[Cocoa] fast/text/international/generic-font-family-language-traditio…
…nal.html is failing due to language minimization

Reviewed by Chris Dumez.

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 that's what this patch does.

* LayoutTests/fast/text/international/generic-font-family-language-traditional.html:
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:

Canonical link:
git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
litherum committed May 23, 2022
1 parent 77c6ed1 commit dad623fed98f5fbc01d9934d64e4f933034e6e41
Showing 3 changed files with 1 addition and 5 deletions.
@@ -2,7 +2,7 @@
window.internals.setUserPreferredLanguages(["en", "zh-tw"]);
@@ -3583,8 +3583,6 @@ fast/forms/select-list-box-with-height.html [ Failure ] fast/forms/control-restrict-line-height.html [ Failure ] tables/mozilla/bugs/bug2479-3.html [ Failure ] fast/text/international/generic-font-family-language-traditional.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters.html [ ImageOnlyFailure ] tables/mozilla/bugs/bug26178.html [ Pass Failure ]
@@ -2263,8 +2263,6 @@ [ Monterey ] http/tests/ssl/applepay/ApplePayButton.html [ F [ Debug ] fast/replaced/encrypted-pdf-as-object-and-embed.html [ Skip ] fast/text/international/generic-font-family-language-traditional.html [ ImageOnlyFailure ]

# <model> tests involving the ready promise can only work on Monterey and up
[ BigSur ] model-element/model-element-ready.html [ Skip ]

0 comments on commit dad623f

Please sign in to comment.