Changeset 53494 in webkit
- Timestamp:
- Jan 19, 2010 2:17:32 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53492 r53494 1 2010-01-19 Enrica Casucci <enrica@apple.com> 2 3 Reviewed by Simon Fraser. 4 5 REGRESSION: Infinite recursion in Position::getInlineBoxAndOffset() 6 https://bugs.webkit.org/show_bug.cgi?id=33864 7 <rdar://problem/7552959> 8 9 * editing/selection/selection-applet-expected.txt: Added. 10 * editing/selection/selection-applet.html: Added. 11 1 12 2010-01-15 Ojan Vafai <ojan@chromium.org> 2 13 -
trunk/WebCore/ChangeLog
r53493 r53494 1 2010-01-19 Enrica Casucci <enrica@apple.com> 2 3 Reviewed by Simon Fraser. 4 5 REGRESSION: Infinite recursion in Position::getInlineBoxAndOffset() 6 https://bugs.webkit.org/show_bug.cgi?id=33864 7 <rdar://problem/7552959> 8 9 Regression has been introduced by changeset 53085. 10 The original fix had to be limited to editable content. 11 12 Test: editing/selection/selection-applet.html 13 14 * dom/Position.cpp: 15 (WebCore::Position::getInlineBoxAndOffset): 16 1 17 2010-01-19 Kristian Amlie <kristian.amlie@nokia.com> 2 18 -
trunk/WebCore/dom/Position.cpp
r53085 r53494 1014 1014 } 1015 1015 } 1016 inlineBox = 0; 1016 1017 if (renderer->isBox()) { 1017 1018 inlineBox = toRenderBox(renderer)->inlineBoxWrapper(); 1018 1019 if (!inlineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxOffset())) 1019 1020 return; 1020 } else {1021 } else if (node()->isContentEditable()) { 1021 1022 Position pos = positionInParentBeforeNode(node()).upstream(); 1022 1023 pos.getInlineBoxAndOffset(DOWNSTREAM, primaryDirection, inlineBox, caretOffset);
Note: See TracChangeset
for help on using the changeset viewer.