Bug 17305

Summary: Absolutely positioned span makes text flow incorrectly
Product: WebKit Reporter: Chasen Le Hara <rendezvouscp>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Trivial CC: ahmad.saleem792, ap, mitz, rniwa, webkit
Priority: P3 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.webaim.org/articles/siteredesign/
Attachments:
Description Flags
Test case
none
Simpler test case
none
Safari 15.5 matches other browsers none

Chasen Le Hara
Reported 2008-02-10 22:24:18 PST
In the main text, some of the text passes the right side of the container in WebKit (but not in Firefox or Opera). This is due to the presence of a span that's absolutely positioned.
Attachments
Test case (416 bytes, text/html)
2008-02-10 22:25 PST, Chasen Le Hara
no flags
Simpler test case (174 bytes, text/html)
2008-02-20 17:33 PST, mitz
no flags
Safari 15.5 matches other browsers (316.56 KB, image/png)
2022-06-22 16:04 PDT, Ahmad Saleem
no flags
Chasen Le Hara
Comment 1 2008-02-10 22:25:38 PST
Created attachment 19056 [details] Test case
mitz
Comment 2 2008-02-20 17:33:19 PST
Created attachment 19244 [details] Simpler test case The firstChild/listChild checks in bidi.cpp's inlineWidth() are inadequate, so findNextLineBreak() never adds the right padding.
Ahmad Saleem
Comment 3 2022-06-22 16:04:35 PDT
Created attachment 460432 [details] Safari 15.5 matches other browsers I am unable to reproduce this bug using "Simpler Test case" and other (but attached screenshot of only one) in Safari 15.5 on macOS 12.4. The output matches with all other browsers as shown in the screenshot. It might be fixed along the lines or I might be testing it incorrectly. If it is latter, please ignore my comment but if it is former, can this be marked as "RESOLVED CONFIGURATION CHANGED"? Thanks!
Note You need to log in before you can comment on or make changes to this bug.