Bug 96856

Summary: REGRESSION (r125578): RenderText::maxLogicalWidth() is wrong for text containing two consecutive spaces when word-spacing is non-zero
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, robert, webkit-bug-importer
Priority: P1 Keywords: InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: data:text/html,%3Cspan%20style=%22font-size:%2036px;%20word-spacing:%2050px;%20border:%20solid%20red;%22%3Ea%20&nbsp;b%3C/span%3Ex

mitz
Reported 2012-09-14 22:33:50 PDT
To reproduce, navigate to the URL. The red box should enclose the a and the b, and the x should be just to the right of the b. This regression was introduce in <http://trac/webkit.org/r125578>, the fix for bug 89826. That change neglected to update RenderText.
Attachments
Robert Hogan
Comment 1 2012-09-16 01:37:56 PDT
I can't recreate this on Chromium Linux at r128706.
mitz
Comment 2 2012-11-07 09:57:51 PST
See also bug 101443.
Radar WebKit Bug Importer
Comment 3 2012-11-07 10:16:56 PST
mitz
Comment 4 2012-11-07 10:20:30 PST
Note that the caching work in <http://trac.webkit.org/r130851> has somewhat mitigated the problem, so this particular case no longer fails, but the one in bug 101443 still does.
Robert Hogan
Comment 5 2013-01-29 12:36:00 PST
I don't believe there's anything to here now.
Note You need to log in before you can comment on or make changes to this bug.