Fix http://bugs.webkit.org/show_bug.cgi?id=16074
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Nov 2007 21:36:34 +0000 (21:36 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Nov 2007 21:36:34 +0000 (21:36 +0000)
commit29b0f979ac271ccd0eb612f53d30f6079bad6aa6
tree8c9d537a8a1e12658347cf161f7c05cde82a99b8
parentca04a466f5bbcaeeb61a3e3cd93fca981aaae3b6
Fix http://bugs.webkit.org/show_bug.cgi?id=16074
Bug 16074: execCommand("InsertHorizontalRule", false, "") results in id="" being inserted

For consistency with InsertOrderedList and InsertUnorderedList a value parameter of "" should
not result in an id being set.

Reviewed by Sam Weinig.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/arguments-combinations-expected.txt
LayoutTests/editing/execCommand/arguments-combinations.html
WebCore/ChangeLog
WebCore/editing/JSEditor.cpp