Bug 195308 - Monospaced Latin text with an incorrect language tag doesn't end up monospaced
Summary: Monospaced Latin text with an incorrect language tag doesn't end up monospaced
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-03-04 19:49 PST by Myles C. Maxfield
Modified: 2022-07-18 12:06 PDT (History)
8 users (show)

See Also:


Attachments
WIP (16.60 KB, patch)
2019-03-04 19:49 PST, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews115 for mac-highsierra (538.48 KB, application/zip)
2019-03-04 20:39 PST, EWS Watchlist
no flags Details
WIP (16.05 KB, patch)
2019-03-05 13:22 PST, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
WIP (16.30 KB, patch)
2019-03-05 13:35 PST, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
WIP (16.37 KB, patch)
2019-03-05 13:35 PST, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Safari 15.5 matches Firefox but differs from Chrome (960.34 KB, image/png)
2022-07-12 07:22 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!