| Summary: | Text reflows when selected on particular page | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||||
| Status: | RESOLVED CONFIGURATION CHANGED | ||||||||||
| Severity: | Normal | CC: | zalan | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Myles C. Maxfield
2015-01-12 08:28:39 PST
Created attachment 244450 [details]
Test reduction.
This has something to do with computing the available space when float is present.
Created attachment 244492 [details]
Test reduction.
New test reduction without float.
(In reply to comment #2) > Created attachment 244492 [details] > Test reduction. > > New test reduction without float. It seems to be a float precision issue. 1. Complex line layout measures text fragments with leading whitespace, while simple line layout measures them without. (while this could result in mismatching line width due to kerning, this is not the case here.) 2. While adding up the text fragments (without the leading whitespace) + the constant whitespace width, we measure the text as 358.0000025px. 3. Complex line layout measures the fragments as 358px. Individually each character measures the same width both cases. |