Changeset 27706 in webkit
- Timestamp:
- Nov 11, 2007, 9:40:30 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r27696 r27706 1 2007-11-11 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Adam Roben. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=15942 6 REGRESSION: Selecting "Edit Html" tab in Blogger causes crash (Assertion failed: isRange()) 7 8 * editing/selection/cleared-by-relayout-expected.txt: Added. 9 * editing/selection/cleared-by-relayout.html: Added. 10 1 11 2007-11-11 Antti Koivisto <antti@apple.com> 2 12 -
trunk/WebCore/ChangeLog
r27705 r27706 1 2007-11-11 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Adam Roben. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=15942 6 REGRESSION: Selecting "Edit Html" tab in Blogger causes crash (Assertion failed: isRange()) 7 8 Test: editing/selection/cleared-by-relayout.html 9 10 * editing/Selection.cpp: 11 (WebCore::Selection::toRange): Check if the selection has been cleared 12 by updating layout. 13 1 14 2007-11-11 Darin Adler <darin@apple.com> 2 15 -
trunk/WebCore/editing/Selection.cpp
r25453 r27706 129 129 // incorrect results. 130 130 m_start.node()->document()->updateLayout(); 131 132 // Check again, because updating layout can clear the selection. 133 if (isNone()) 134 return 0; 131 135 132 136 Position s, e;
Note:
See TracChangeset
for help on using the changeset viewer.