Changeset 19903 in webkit
- Timestamp:
- Feb 27, 2007 5:08:25 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r19899 r19903 1 2007-02-27 Justin Garcia <justin.garcia@apple.com> 2 3 Reviewed by oliver 4 5 <rdar://problem/5027300> 6 REGRESSION: Images inserted with align left/right are lost 7 8 * editing/inserting/12882-expected.checksum: Added. 9 * editing/inserting/12882-expected.png: Added. 10 * editing/inserting/12882-expected.txt: Added. 11 * editing/inserting/12882.html: Added. 12 1 13 2007-02-27 Mitz Pettel <mitz@webkit.org> 2 14 -
trunk/WebCore/ChangeLog
r19902 r19903 1 2007-02-27 Justin Garcia <justin.garcia@apple.com> 2 3 Reviewed by oliver 4 5 <rdar://problem/5027300> 6 REGRESSION: Images inserted with align left/right are lost 7 8 * editing/ReplaceSelectionCommand.cpp: 9 (WebCore::ReplaceSelectionCommand::shouldMerge): 10 Don't attempt to merge to or from a position before 11 or after a block because it will be a no-op and 12 lead to infinite recursion. 13 In this case it instead resulted in content loss because 14 of bugs in start/endOfParagraph (5027702). 15 * editing/visible_units.cpp: Added two FIXMEs for 16 the problems with start/endOfParagraph. 17 1 18 2007-02-27 Anders Carlsson <acarlsson@apple.com> 2 19 -
trunk/WebCore/editing/ReplaceSelectionCommand.cpp
r19837 r19903 340 340 enclosingListChild(fromNode) == enclosingListChild(toNode) && 341 341 enclosingTableCell(fromNode) == enclosingTableCell(toNode) && 342 !(fromNode->renderer() && fromNode->renderer()->isTable()) &&343 !(toNode->renderer() && toNode->renderer()->isTable()) &&344 ! fromNode->hasTagName(hrTag) && !toNode->hasTagName(hrTag);342 // Don't merge to or from a position before or after a block because it would 343 // be a no-op and cause infinite recursion. 344 !isBlock(fromNode) && !isBlock(toNode); 345 345 } 346 346 -
trunk/WebCore/editing/visible_units.cpp
r19027 r19903 579 579 } 580 580 581 // FIXME: Broken for positions before/after images that aren't inline (5027702) 581 582 VisiblePosition startOfParagraph(const VisiblePosition &c) 582 583 { … … 648 649 } 649 650 651 // FIXME: Broken for positions before/after images that aren't inline (5027702) 650 652 VisiblePosition endOfParagraph(const VisiblePosition &c) 651 653 {
Note: See TracChangeset
for help on using the changeset viewer.