Bug 17305 - Absolutely positioned span makes text flow incorrectly
Summary: Absolutely positioned span makes text flow incorrectly
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Trivial
Assignee: Nobody
URL: http://www.webaim.org/articles/sitere...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2008-02-10 22:24 PST by Chasen Le Hara
Modified: 2022-06-22 22:21 PDT (History)
5 users (show)

See Also:


Attachments
Test case (416 bytes, text/html)
2008-02-10 22:25 PST, Chasen Le Hara
no flags Details
Simpler test case (174 bytes, text/html)
2008-02-20 17:33 PST, mitz
no flags Details
Safari 15.5 matches other browsers (316.56 KB, image/png)
2022-06-22 16:04 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chasen Le Hara 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.
Comment 1 Chasen Le Hara 2008-02-10 22:25:38 PST
Created attachment 19056 [details]
Test case
Comment 2 mitz 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.
Comment 3 Ahmad Saleem 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!