Changeset 20186 in webkit
- Timestamp:
- Mar 14, 2007 4:37:21 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r20181 r20186 1 2007-03-14 Antti Koivisto <antti@apple.com> 2 3 Reviewed by Mitz. 4 5 Test case for <rdar://problem/5058774> 6 REGRESSION: In Mail, caret appears oversized when typing in a To Do note 7 8 * editing/style/highlight-expected.checksum: Added. 9 * editing/style/highlight-expected.png: Added. 10 * editing/style/highlight-expected.txt: Added. 11 * editing/style/highlight.html: Added. 12 1 13 2007-03-13 Justin Garcia <justin.garcia@apple.com> 2 14 -
trunk/WebCore/ChangeLog
r20185 r20186 1 2007-03-14 Antti Koivisto <antti@apple.com> 2 3 Reviewed by Mitz. 4 5 Fix <rdar://problem/5058774> 6 REGRESSION: In Mail, caret appears oversized when typing in a To Do note 7 8 Horizontal and vertical were switched. Was regression from 9 http://trac.webkit.org/projects/webkit/changeset/20103 10 11 * rendering/RootInlineBox.cpp: 12 (WebCore::RootInlineBox::addHighlightOverflow): 13 1 14 2007-03-14 David Hyatt <hyatt@apple.com> 2 15 -
trunk/WebCore/rendering/RootInlineBox.cpp
r20103 r20186 141 141 FloatRect rootRect(0, selectionTop(), width(), selectionHeight()); 142 142 IntRect inflatedRect = enclosingIntRect(object()->document()->frame()->customHighlightLineRect(object()->style()->highlight(), rootRect, object()->node())); 143 set VerticalOverflowPositions(min(leftOverflow(), inflatedRect.x()), max(rightOverflow(), inflatedRect.right()));144 set HorizontalOverflowPositions(min(topOverflow(), inflatedRect.y()), max(bottomOverflow(), inflatedRect.bottom()));143 setHorizontalOverflowPositions(min(leftOverflow(), inflatedRect.x()), max(rightOverflow(), inflatedRect.right())); 144 setVerticalOverflowPositions(min(topOverflow(), inflatedRect.y()), max(bottomOverflow(), inflatedRect.bottom())); 145 145 } 146 146
Note: See TracChangeset
for help on using the changeset viewer.