Bug 151452 - Inlinebox rectangle is not correct when word-spacing is applied.
Summary: Inlinebox rectangle is not correct when word-spacing is applied.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 11:47 PST by zalan
Modified: 2015-11-20 10:32 PST (History)
3 users (show)

See Also:


Attachments
test case (156 bytes, text/html)
2015-11-19 11:47 PST, zalan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2015-11-19 11:47:34 PST
Created attachment 265876 [details]
test case

It seem like that the last run of a text has the issue with the word-spacing.
in case of the following text "foobar1 foobar2 foobar3", the " foobar3" run gets the wrong width which makes the inlinebox rect narrower. See the attached test case.
Comment 1 Myles C. Maxfield 2015-11-20 10:29:08 PST
Is this only for Simple Line Layout?
Comment 2 zalan 2015-11-20 10:31:03 PST
(In reply to comment #1)
> Is this only for Simple Line Layout?
No, it's for normal lineboxes (simple line layout does not have "Inlinebox")
Comment 3 zalan 2015-11-20 10:32:28 PST
(In reply to comment #2)
> (In reply to comment #1)
> > Is this only for Simple Line Layout?
> No, it's for normal lineboxes (simple line layout does not have "Inlinebox")
Simple line layout implements this properly.