LayoutTests:
Reviewed by levi
<rdar://problem/
4515463>
REGRESSION: Blot and Mail both do a very poor job of pasting the main www.apple.com page
Removed incorrect nesting:
* editing/pasteboard/paste-table-001-expected.checksum:
* editing/pasteboard/paste-table-001-expected.png:
* editing/pasteboard/paste-table-001-expected.txt:
* editing/pasteboard/paste-table-003-expected.txt:
WebCore:
Reviewed by levi
First part of:
<rdar://problem/
4515463>
REGRESSION: Blot and Mail both do a very poor job of pasting the main www.apple.com page
Migrate to isBlock and enclosingBlock.
Changed RendereringInfo::isBlock and ReplacementFragment::isBlock
to wasBlock so that they don't conflict with isBlock and because
it's more descriptive.
* editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplacementFragment::mergeStartNode):
(WebCore::ReplacementFragment::wasBlock):
(WebCore::ReplacementFragment::saveRenderingInfo):
(WebCore::ReplacementFragment::renderedBlocks):
(WebCore::RenderingInfo::RenderingInfo):
(WebCore::ReplaceSelectionCommand::shouldMergeStart):
(WebCore::ReplaceSelectionCommand::doApply):
* editing/ReplaceSelectionCommand.h:
(WebCore::RenderingInfo::wasBlock):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15683
268f45cc-cd09-0410-ab3c-
d52691b4dbfc