Changeset 25235 in webkit
- Timestamp:
- Aug 25, 2007 5:26:19 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r25234 r25235 1 2007-08-25 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Dave Hyatt. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=14972 6 Moving cursor down in contentEditable section fails if styled line-height:1em 7 8 * editing/selection/move-by-line-003-expected.txt: Added. 9 * editing/selection/move-by-line-003.html: Added. 10 1 11 2007-08-25 Mitz Pettel <mitz@webkit.org> 2 12 -
trunk/WebCore/ChangeLog
r25234 r25235 1 2007-08-25 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Dave Hyatt. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=14972 6 Moving cursor down in contentEditable section fails if styled line-height:1em 7 8 Test: editing/selection/move-by-line-003.html 9 10 * rendering/RenderText.cpp: 11 (WebCore::RenderText::positionForCoordinates): Changed hit testing so that each 12 line is tested for hits between its overflow top and the next line's overflow top. 13 This matches RenderBlock::positionForCoordinates. 14 1 15 2007-08-25 Mitz Pettel <mitz@webkit.org> 2 16 -
trunk/WebCore/rendering/RenderText.cpp
r24887 r25235 266 266 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) { 267 267 if (y >= box->root()->topOverflow()) { 268 if (y < box->root()->bottomOverflow()) { 268 int bottom = box->root()->nextRootBox() ? box->root()->nextRootBox()->topOverflow() : box->root()->bottomOverflow(); 269 if (y < bottom) { 269 270 offset = box->offsetForPosition(x); 270 271
Note: See TracChangeset
for help on using the changeset viewer.