WebCore:
2008-05-27 Justin Garcia <justin.garcia@apple.com>
Reviewed by Oliver.
<rdar://problem/5803706> Pressing return at the end of a header doesn't break out of header (17460)
It wasn't enough to break out of the header, to match other browsers we
also need to not preserve the typing style.
* editing/InsertParagraphSeparatorCommand.cpp:
(WebCore::InsertParagraphSeparatorCommand::applyStyleAfterInsertion):
(WebCore::InsertParagraphSeparatorCommand::doApply):
* editing/InsertParagraphSeparatorCommand.h:
LayoutTests:
2008-05-27 Justin Garcia <justin.garcia@apple.com>
Reviewed by Oliver.
<rdar://problem/5803706> Pressing return at the end of a header doesn't break out of header (17460)
* editing/inserting/5803706-1-expected.txt: Adjust this already checked-in test to reflect the new
expected behavior.
* editing/inserting/5803706-1.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34166
268f45cc-cd09-0410-ab3c-
d52691b4dbfc