Bug 220942

Summary: Unnessecary wrap on a specific bidi text
Product: WebKit Reporter: Ebrahim Byagowi <ebrahim>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, bfulgham, gsnedders, mmaxfield, simon.fraser, smoley, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Unspecified   
OS: macOS 11   
URL: data:text/html;charset=utf8,<div%20style="font-family:arial;position:absolute;">س-w.</div>

Description Ebrahim Byagowi 2021-01-25 12:38:46 PST
Open
data:text/html;charset=utf8,<div%20style="font-family:arial;position:absolute;">س-w.</div>

Actual:
Unnecessary wrap has broken it into two lines.

Expected:
Just like other browsers, in one line.
Comment 1 Smoley 2021-01-27 17:08:17 PST
Thanks for filing, I'm able to reproduce this on Safari 13.1.3 as well as STP118 (14.1).
Comment 2 Radar WebKit Bug Importer 2021-01-27 17:09:45 PST
<rdar://problem/73687010>
Comment 3 Ahmad Saleem 2022-06-09 18:20:53 PDT
I am able to reproduce this in Safari 15.5 on macOS 12.4. All other browsers (Chrome Canary 104 and Firefox Nightly 103) behave similar to each other except Safari. Thanks!
Comment 4 Myles C. Maxfield 2022-06-09 18:29:43 PDT
There is no line break on ToT where LFC is enabled.
Comment 5 zalan 2022-06-09 20:25:24 PDT
This has progressed at https://trac.webkit.org/changeset/288070/webkit
Comment 6 zalan 2022-06-09 20:25:55 PDT

*** This bug has been marked as a duplicate of bug 235266 ***
Comment 7 Ebrahim Byagowi 2022-06-12 00:00:23 PDT
Great progress! Will the new initiative resolve Bug 6148 also finally? How can I test it?
Comment 8 Myles C. Maxfield 2022-06-12 07:35:59 PDT
Nope; we’re still working on that bug.