Changeset 31932 in webkit
- Timestamp:
- Apr 15, 2008, 10:30:13 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r31912 r31932 1 2008-04-15 Justin Garcia <justin.garcia@apple.com> 2 3 Reviewed by Oliver. 4 5 <rdar://problem/5665299> REGRESSION (r27369): Paste text into a contenteditable div creates a contenteditable div for each line (16661) 6 7 * editing/pasteboard/5665299-expected.txt: Added. 8 * editing/pasteboard/5665299.html: Added. 9 1 10 2008-04-15 Anatoli Papirovski <apapirovski@mac.com> 2 11 -
trunk/WebCore/ChangeLog
r31931 r31932 1 2008-04-15 Justin Garcia <justin.garcia@apple.com> 2 3 Reviewed by Oliver. 4 5 <rdar://problem/5665299> REGRESSION (r27369): Paste text into a contenteditable div creates a contenteditable div for each line (16661) 6 7 * editing/markup.cpp: 8 (WebCore::createFragmentFromText): Don't use clones of the enclosing block to hold 9 paragraphs if the enclosing block is the root editable element. 10 1 11 2008-04-15 Mark Rowe <mrowe@apple.com> 2 12 -
trunk/WebCore/editing/markup.cpp
r31412 r31932 1057 1057 // Break string into paragraphs. Extra line breaks turn into empty paragraphs. 1058 1058 Node* block = enclosingBlock(context->firstNode()); 1059 bool useClonesOfEnclosingBlock = block && !block->hasTagName(bodyTag) && !block->hasTagName(htmlTag) ;1059 bool useClonesOfEnclosingBlock = block && !block->hasTagName(bodyTag) && !block->hasTagName(htmlTag) && block != editableRootForPosition(context->startPosition()); 1060 1060 1061 1061 Vector<String> list;
Note:
See TracChangeset
for help on using the changeset viewer.