Changeset 21940 in webkit
- Timestamp:
- Jun 1, 2007 2:04:49 PM (17 years ago)
- Location:
- branches/Safari-5522/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Safari-5522/WebCore/ChangeLog
r21876 r21940 1 2007-05-30 Timothy Hatcher <timothy@apple.com> 2 3 Reviewed by Darin. 4 5 <rdar://problem/5200795> REGRESSION (r21057): lineBoxRects doesn't match actual text when wrapping occurs 6 7 Use box->end() instead of box->len(). 8 9 * rendering/RenderText.cpp: 10 (WebCore::RenderText::addLineBoxRects): 11 1 12 2007-05-25 Geoffrey Garen <ggaren@apple.com> 2 13 -
branches/Safari-5522/WebCore/rendering/RenderText.cpp
r21435 r21940 185 185 rects.append(IntRect(x + box->xPos(), y + box->yPos(), box->width(), box->height())); 186 186 else { 187 unsigned realEnd = min(box-> len(), end);187 unsigned realEnd = min(box->end(), end); 188 188 IntRect r = box->selectionRect(x, y, start, realEnd); 189 189 if (!r.isEmpty()) {
Note: See TracChangeset
for help on using the changeset viewer.