Changeset 19761 in webkit
- Timestamp:
- Feb 20, 2007 7:58:51 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r19732 r19761 1 2007-02-20 Justin Garcia <justin.garcia@apple.com> 2 3 Reviewed by harrison 4 5 <rdar://problem/5006779> 6 REGRESSION: Paste and Match Style of quoted text onto empty line yields quoted text 7 8 * editing/pasteboard/5006779-expected.checksum: Added. 9 * editing/pasteboard/5006779-expected.png: Added. 10 * editing/pasteboard/5006779-expected.txt: Added. 11 * editing/pasteboard/5006779.html: Added. 12 1 13 2007-02-20 Rob Buis <buis@kde.org> 2 14 -
trunk/WebCore/ChangeLog
r19760 r19761 1 2007-02-20 Justin Garcia <justin.garcia@apple.com> 2 3 Reviewed by harrison 4 5 <rdar://problem/5006779> 6 REGRESSION: Paste and Match Style of quoted text onto empty line yields quoted text 7 8 We decided to change the copy/paste behavior in both 9 the Paste and the Paste and Match Style cases. 10 11 * editing/markup.cpp: 12 (WebCore::createMarkup): Don't add mail blockquote wrappers 13 unless the user selected one or more paragraphs. 14 1 15 2007-02-20 Timothy Hatcher <timothy@apple.com> 2 16 -
trunk/WebCore/WebCore.xcodeproj/project.pbxproj
r19747 r19761 11180 11180 isa = PBXProject; 11181 11181 buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */; 11182 compatibilityVersion = "Xcode 2.4";11183 11182 hasScannedForEncodings = 1; 11184 11183 knownRegions = ( … … 11195 11194 projectDirPath = ""; 11196 11195 projectRoot = ""; 11197 shouldCheckCompatibility = 1;11198 11196 targets = ( 11199 11197 93F198A508245E59001E9ABC /* WebCore */, -
trunk/WebCore/editing/markup.cpp
r19648 r19761 525 525 markups.append(interchangeNewlineString); 526 526 527 bool selectedOneOrMoreParagraphs = startOfParagraph(visibleStart) != startOfParagraph(visibleEnd) || 528 isStartOfParagraph(visibleStart) && isEndOfParagraph(visibleEnd); 529 527 530 // Retain the Mail quote level by including all ancestor mail block quotes. 528 if (annotate ) {531 if (annotate && selectedOneOrMoreParagraphs) { 529 532 for (Node *ancestor = commonAncestorBlock; ancestor; ancestor = ancestor->parentNode()) { 530 533 if (isMailBlockquote(ancestor)) {
Note: See TracChangeset
for help on using the changeset viewer.