wpt reftest: css/css-fonts/font-variation-settings-descriptor-04.html fails on new android 14 emulator
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: jmaher, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
you can look at the reftest compare and the text is bolder on the reference image, but not on the test image.
| Reporter | ||
Comment 1•8 months ago
|
||
in addition (same try link/job):
- css/css-fonts/system-ui-mixed.html (the left characters are bolded on the reference image. also the entire line seems shifted down)
| Reporter | ||
Comment 2•8 months ago
|
||
related to this same component is
- css/css-text-decor/text-emphasis-style-002.html
- css/css-text-decor/text-emphasis-style-016.html
both of these render fine, but there is a row of . and the ending . has some fuzzy issues.
Comment 3•7 months ago
|
||
Jonathan, re system-ui-mixed.html:
I looked into this last week and it appeared to regress sometime between android 7 and 11.
I notice the test has font-family: serif; whereas the reference has font-family: sans-serif;. Is that deliberate?
On Android 7, we end up using NotoSansCJK-Regular.ttc for both cases. Whereas on Android 11 we use NotoSerifCJK-Regular.ttc and NotoSansCJK-Regular.ttc respectively.
So somewhere between android 7 and 11 the a serif CJK font was added, causing the test to fail? Should we be using either consistently serif or sans-serif in both the test and reference?
Comment 4•7 months ago
|
||
No, IIRC this was quite deliberate: the idea being that if system-ui works appropriately for all the content, the fallback (serif or sans-serif) will not be used at all, and so the test and reference files will match. If they're not matching, that implies that system-ui didn't handle everything as expected.
It looks like our implementation of system-ui on Android doesn't cover the CJK characters, so in a sense we've always been "failing" that, but the test didn't catch it because we also didn't have distinct serif vs sans-serif mappings. Now that those exist, the test is revealing the limitations of system-ui as it was intended to do.
So I think it'd be appropriate to annotate this as an expected failure, and file a bug to the effect that system-ui on Android doesn't support CJK content. (We already fail similarly on other platforms, fwiw.)
Comment 5•7 months ago
|
||
The severity field is not set for this bug.
:jwatt, could you have a look please?
For more information, please visit BugBot documentation.
Updated•7 months ago
|
Description
•