InsertHTML fails to insert h6 if the insertion point is before some text.
authoryi.4.shen@nokia.com <yi.4.shen@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2012 14:28:45 +0000 (14:28 +0000)
committeryi.4.shen@nokia.com <yi.4.shen@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2012 14:28:45 +0000 (14:28 +0000)
commit392cd16984f570e484c760720127532ad3815a02
tree81aeb26872dc8d747dcbe453d60d860745053422
parent47c07e6c739c15330ad7da838f77abe975ccdcca
InsertHTML fails to insert h6 if the insertion point is before some text.
https://bugs.webkit.org/show_bug.cgi?id=82689

Reviewed by Ryosuke Niwa.

Added the missing h6 tag for the isHeaderElement.

Source/WebCore:

No new tests: updated existing test (editing/execCommand/4128080-1.html)

* editing/ReplaceSelectionCommand.cpp:
(WebCore::isHeaderElement):

LayoutTests:

* editing/execCommand/4128080-1-expected.txt:
* editing/execCommand/4128080-1.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/4128080-1-expected.txt
LayoutTests/editing/execCommand/4128080-1.html
Source/WebCore/ChangeLog
Source/WebCore/editing/ReplaceSelectionCommand.cpp