Bug 195308

Summary: Monospaced Latin text with an incorrect language tag doesn't end up monospaced
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, ews-watchlist, mmaxfield, rniwa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WIP
none
Archive of layout-test-results from ews115 for mac-highsierra
none
WIP
none
WIP
none
WIP
none
Safari 15.5 matches Firefox but differs from Chrome none

Description Myles C. Maxfield 2019-03-04 19:49:16 PST
Monospaced Latin text with an incorrect language tag doesn't end up monospaced
Comment 1 Myles C. Maxfield 2019-03-04 19:49:52 PST
Created attachment 363587 [details]
WIP
Comment 2 Myles C. Maxfield 2019-03-04 19:49:54 PST
<rdar://problem/26428536>
Comment 3 EWS Watchlist 2019-03-04 19:52:39 PST
Attachment 363587 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:9:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 EWS Watchlist 2019-03-04 20:39:21 PST
Comment on attachment 363587 [details]
WIP

Attachment 363587 [details] did not pass mac-debug-ews (mac):
Output: https://webkit-queues.webkit.org/results/11371517

Number of test failures exceeded the failure limit.
Comment 5 EWS Watchlist 2019-03-04 20:39:22 PST
Created attachment 363592 [details]
Archive of layout-test-results from ews115 for mac-highsierra

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews115  Port: mac-highsierra  Platform: Mac OS X 10.13.6
Comment 6 Myles C. Maxfield 2019-03-05 13:22:59 PST
Created attachment 363679 [details]
WIP
Comment 7 Myles C. Maxfield 2019-03-05 13:35:22 PST
Created attachment 363684 [details]
WIP
Comment 8 Myles C. Maxfield 2019-03-05 13:35:47 PST
Created attachment 363685 [details]
WIP
Comment 9 Myles C. Maxfield 2019-03-05 14:09:56 PST
css1/font_properties/font.html
fast/css/word-space-extra.html
fast/sub-pixel/selection/selection-rect-in-sub-pixel-table.html
fast/text/basic/generic-family-reset.html
fast/text/complex-initial-advance.html
fast/text/international/dynamic-text-combine-crash.html
fast/text/monospace-width-cache.html
platform/mac/fast/text/webfont-after-tiny-monospace-text.html
Comment 10 Ahmad Saleem 2022-07-12 07:22:11 PDT
Created attachment 460809 [details]
Safari 15.5 matches Firefox but differs from Chrome

I changed the test case from WIP patch into JSfiddle below:

Link - https://jsfiddle.net/vnm9Lh0e/show

I am able to reproduce this bug in Safari 15.5 on macOS 12.4 and Safari matches with Firefox Nightly 104 while Chrome Canary 105 renders the text in mono-spaced font.

Please refer to attached screenshots. In case, if I am testing it wrong, please retest accordingly. Thanks!
Comment 11 Myles C. Maxfield 2022-07-16 19:53:11 PDT
> I am able to reproduce this bug in Safari 15.5 on macOS 12.4

The text in the screenshot looks monospaced in all browsers to me. What's the reason for indicating that this bug continues to reproduce?
Comment 12 Ahmad Saleem 2022-07-18 07:45:26 PDT
@myles - ignore my comment, you are right. Thanks!