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 Rendering | Assignee: | 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 b%3C/span%3Ex |
mitz
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Robert Hogan
I can't recreate this on Chromium Linux at r128706.
mitz
See also bug 101443.
Radar WebKit Bug Importer
<rdar://problem/12654636>
mitz
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
I don't believe there's anything to here now.