Bug 590640 part 6 - Don't create empty style tags unless we're about to insert text in them; r=ehsan

This commit is contained in:
Aryeh Gregor 2012-05-10 15:00:14 +03:00
parent 794a3e5f1b
commit 7754f4e255
5 changed files with 155 additions and 190 deletions

View File

@ -26093,7 +26093,6 @@
"[[\"bold\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"bold\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"bold\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"bold\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26127,7 +26126,6 @@
"[[\"bold\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"bold\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"bold\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"bold\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
@ -26136,7 +26134,6 @@
"[[\"bold\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"bold\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandState(\"bold\") after":true,
"[[\"bold\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"bold\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26157,9 +26154,10 @@
"[[\"bold\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"bold\") after":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"bold\") after":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26189,10 +26187,8 @@
"[[\"bold\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"bold\") after":true,
"[[\"bold\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"bold\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"bold\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"bold\") after":true,
"[[\"bold\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"bold\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"bold\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26210,10 +26206,8 @@
"[[\"bold\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"bold\") after":true,
"[[\"bold\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"bold\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"bold\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"bold\") after":true,
"[[\"bold\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"bold\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"bold\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26282,7 +26276,6 @@
"[[\"italic\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"italic\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"italic\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"italic\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26316,7 +26309,6 @@
"[[\"italic\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"italic\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"italic\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"italic\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
@ -26325,7 +26317,6 @@
"[[\"italic\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"italic\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandState(\"italic\") after":true,
"[[\"italic\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"italic\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26346,9 +26337,10 @@
"[[\"italic\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"italic\") after":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"italic\") after":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26378,10 +26370,8 @@
"[[\"italic\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"italic\") after":true,
"[[\"italic\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"italic\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"italic\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"italic\") after":true,
"[[\"italic\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"italic\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"italic\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26399,10 +26389,8 @@
"[[\"italic\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"italic\",\"\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"italic\") after":true,
"[[\"italic\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"italic\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"italic\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"italic\") after":true,
"[[\"italic\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"italic\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"italic\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26471,7 +26459,6 @@
"[[\"strikethrough\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"strikethrough\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"strikethrough\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"strikethrough\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26505,7 +26492,6 @@
"[[\"strikethrough\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"strikethrough\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"strikethrough\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"strikethrough\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
@ -26514,7 +26500,6 @@
"[[\"strikethrough\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"strikethrough\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandState(\"strikethrough\") after":true,
"[[\"strikethrough\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"strikethrough\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26535,9 +26520,10 @@
"[[\"strikethrough\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"strikethrough\") after":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"strikethrough\") after":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26567,10 +26553,8 @@
"[[\"strikethrough\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"strikethrough\") after":true,
"[[\"strikethrough\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"strikethrough\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"strikethrough\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"strikethrough\") after":true,
"[[\"strikethrough\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"strikethrough\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"strikethrough\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26588,10 +26572,8 @@
"[[\"strikethrough\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"strikethrough\",\"\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"strikethrough\") after":true,
"[[\"strikethrough\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"strikethrough\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"strikethrough\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"strikethrough\") after":true,
"[[\"strikethrough\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"strikethrough\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"strikethrough\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26660,7 +26642,6 @@
"[[\"subscript\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"subscript\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"subscript\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"subscript\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26694,7 +26675,6 @@
"[[\"subscript\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"subscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"subscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"subscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
@ -26703,7 +26683,6 @@
"[[\"subscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"subscript\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandState(\"subscript\") after":true,
"[[\"subscript\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"subscript\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26724,9 +26703,10 @@
"[[\"subscript\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"subscript\") after":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"subscript\") after":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26756,10 +26736,8 @@
"[[\"subscript\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"subscript\") after":true,
"[[\"subscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"subscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"subscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"subscript\") after":true,
"[[\"subscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"subscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"subscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26777,10 +26755,8 @@
"[[\"subscript\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"subscript\",\"\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"subscript\") after":true,
"[[\"subscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"subscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"subscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"subscript\") after":true,
"[[\"subscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"subscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"subscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26849,7 +26825,6 @@
"[[\"superscript\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"superscript\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"superscript\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"superscript\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26883,7 +26858,6 @@
"[[\"superscript\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"superscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"superscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"superscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
@ -26892,7 +26866,6 @@
"[[\"superscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"superscript\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandState(\"superscript\") after":true,
"[[\"superscript\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"superscript\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -26913,9 +26886,10 @@
"[[\"superscript\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"superscript\") after":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"superscript\") after":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26945,10 +26919,8 @@
"[[\"superscript\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"superscript\") after":true,
"[[\"superscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"superscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"superscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"superscript\") after":true,
"[[\"superscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"superscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"superscript\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -26966,10 +26938,8 @@
"[[\"superscript\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"superscript\",\"\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"superscript\") after":true,
"[[\"superscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"superscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"superscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"superscript\") after":true,
"[[\"superscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"superscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"superscript\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -27038,7 +27008,6 @@
"[[\"underline\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"underline\",\"\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"underline\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"underline\",\"\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -27072,7 +27041,6 @@
"[[\"underline\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"underline\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"underline\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"underline\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
@ -27081,7 +27049,6 @@
"[[\"underline\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"underline\",\"\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandState(\"underline\") after":true,
"[[\"underline\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"underline\",\"\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -27102,9 +27069,10 @@
"[[\"underline\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"underline\") after":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"underline\") after":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -27134,10 +27102,8 @@
"[[\"underline\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"underline\") after":true,
"[[\"underline\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"underline\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"underline\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"underline\") after":true,
"[[\"underline\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"underline\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"underline\",\"\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -27155,10 +27121,8 @@
"[[\"underline\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"underline\",\"\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandState(\"underline\") after":true,
"[[\"underline\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"underline\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"underline\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"underline\") after":true,
"[[\"underline\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"underline\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"underline\",\"\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -27228,7 +27192,6 @@
"[[\"backcolor\",\"#00FFFF\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"backcolor\",\"#00FFFF\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"backcolor\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
@ -27266,7 +27229,6 @@
"[[\"backcolor\",\"#00FFFF\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"backcolor\",\"#00FFFF\"],[\"indent\",\"\"]] \"foo[]bar\" queryCommandValue(\"backcolor\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"backcolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -27277,7 +27239,6 @@
"[[\"backcolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"backcolor\",\"#00FFFF\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandValue(\"backcolor\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"backcolor\",\"#00FFFF\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -27298,7 +27259,6 @@
"[[\"backcolor\",\"#00FFFF\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"backcolor\",\"#00FFFF\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"backcolor\") after":true,
"[[\"backcolor\",\"#00FFFF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"backcolor\",\"#00FFFF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -27617,7 +27577,6 @@
"[[\"fontname\",\"sans-serif\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontname\",\"sans-serif\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"fontname\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
@ -27655,7 +27614,6 @@
"[[\"fontname\",\"sans-serif\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontname\",\"sans-serif\"],[\"indent\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontname\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"fontname\",\"sans-serif\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -27666,7 +27624,6 @@
"[[\"fontname\",\"sans-serif\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontname\",\"sans-serif\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontname\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontname\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
@ -27691,11 +27648,12 @@
"[[\"fontname\",\"sans-serif\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"fontname\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"fontname\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontname\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontname\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -27728,11 +27686,9 @@
"[[\"fontname\",\"sans-serif\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontname\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontname\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"fontname\",\"sans-serif\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontname\",\"sans-serif\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontname\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontname\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -27753,11 +27709,9 @@
"[[\"fontname\",\"sans-serif\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontname\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontname\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"fontname\",\"sans-serif\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontname\",\"sans-serif\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontname\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontname\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"fontname\",\"sans-serif\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -27839,7 +27793,6 @@
"[[\"fontsize\",\"4\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontsize\",\"4\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") before":true,
"[[\"fontsize\",\"4\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"fontsize\",\"4\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
@ -27877,7 +27830,6 @@
"[[\"fontsize\",\"4\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontsize\",\"4\"],[\"indent\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") before":true,
"[[\"fontsize\",\"4\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"fontsize\",\"4\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -27888,7 +27840,6 @@
"[[\"fontsize\",\"4\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontsize\",\"4\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") before":true,
"[[\"fontsize\",\"4\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") after":true,
"[[\"fontsize\",\"4\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
@ -27913,11 +27864,12 @@
"[[\"fontsize\",\"4\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") before":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") after":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") before":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") after":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -27950,11 +27902,9 @@
"[[\"fontsize\",\"4\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") before":true,
"[[\"fontsize\",\"4\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") after":true,
"[[\"fontsize\",\"4\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"fontsize\",\"4\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontsize\",\"4\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") before":true,
"[[\"fontsize\",\"4\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") after":true,
"[[\"fontsize\",\"4\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"fontsize\",\"4\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"fontsize\",\"4\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -27975,11 +27925,9 @@
"[[\"fontsize\",\"4\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"fontsize\",\"4\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") before":true,
"[[\"fontsize\",\"4\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") after":true,
"[[\"fontsize\",\"4\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"fontsize\",\"4\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"fontsize\",\"4\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") before":true,
"[[\"fontsize\",\"4\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") after":true,
"[[\"fontsize\",\"4\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"fontsize\",\"4\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"fontsize\",\"4\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -28058,7 +28006,6 @@
"[[\"forecolor\",\"#0000FF\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"forecolor\",\"#0000FF\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"forecolor\",\"#0000FF\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -28092,7 +28039,6 @@
"[[\"forecolor\",\"#0000FF\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"forecolor\",\"#0000FF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"forecolor\",\"#0000FF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"forecolor\",\"#0000FF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
@ -28101,7 +28047,6 @@
"[[\"forecolor\",\"#0000FF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"forecolor\",\"#0000FF\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandValue(\"forecolor\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"forecolor\",\"#0000FF\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -28122,9 +28067,10 @@
"[[\"forecolor\",\"#0000FF\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"forecolor\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"forecolor\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -28154,10 +28100,8 @@
"[[\"forecolor\",\"#0000FF\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertlinebreak\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"forecolor\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"forecolor\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -28175,10 +28119,8 @@
"[[\"forecolor\",\"#0000FF\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertparagraph\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertunorderedlist\",\"\"]] \"foo[]bar\" queryCommandValue(\"forecolor\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"forecolor\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") before":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") before":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertunorderedlist\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") before":true,
@ -28248,7 +28190,6 @@
"[[\"hilitecolor\",\"#00FFFF\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"hilitecolor\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"formatblock\",\"<div>\"]] \"foo[]bar\" queryCommandValue(\"formatblock\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"formatblock\",\"<div>\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
@ -28286,7 +28227,6 @@
"[[\"hilitecolor\",\"#00FFFF\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"forwarddelete\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"indent\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"indent\",\"\"]] \"foo[]bar\" queryCommandValue(\"hilitecolor\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -28297,7 +28237,6 @@
"[[\"hilitecolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"indent\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"inserthorizontalrule\",\"\"]] \"foo[]bar\" queryCommandValue(\"hilitecolor\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"inserthorizontalrule\",\"\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -28318,7 +28257,6 @@
"[[\"hilitecolor\",\"#00FFFF\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"inserthtml\",\"ab<b>c</b>d\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"inserttext\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" compare innerHTML":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"hilitecolor\") after":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\": execCommand(\"inserttext\", false, \"a\") return value":true,
"[[\"hilitecolor\",\"#00FFFF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" compare innerHTML":true,
@ -29148,5 +29086,23 @@
"[[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"<blockquote><font color=blue>[foo]</font></blockquote>\" queryCommandValue(\"inserttext\") before":true,
"[[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"<blockquote><font color=blue>[foo]</font></blockquote>\" queryCommandIndeterm(\"inserttext\") after":true,
"[[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"<blockquote><font color=blue>[foo]</font></blockquote>\" queryCommandState(\"inserttext\") after":true,
"[[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"<blockquote><font color=blue>[foo]</font></blockquote>\" queryCommandValue(\"inserttext\") after":true
"[[\"delete\",\"\"],[\"inserttext\",\"a\"]] \"<blockquote><font color=blue>[foo]</font></blockquote>\" queryCommandValue(\"inserttext\") after":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"bold\") after":true,
"[[\"bold\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"bold\") after":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"italic\") after":true,
"[[\"italic\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"italic\") after":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"strikethrough\") after":true,
"[[\"strikethrough\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"strikethrough\") after":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"subscript\") after":true,
"[[\"subscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"subscript\") after":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"superscript\") after":true,
"[[\"superscript\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"superscript\") after":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandState(\"underline\") after":true,
"[[\"underline\",\"\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandState(\"underline\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"fontname\") after":true,
"[[\"fontname\",\"sans-serif\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontname\") after":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") after":true,
"[[\"fontsize\",\"4\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"fontsize\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"]] \"foo[]bar\" queryCommandValue(\"forecolor\") after":true,
"[[\"forecolor\",\"#0000FF\"],[\"insertimage\",\"/img/lion.svg\"],[\"inserttext\",\"a\"]] \"foo[]bar\" queryCommandValue(\"forecolor\") after":true
}

View File

@ -288,15 +288,14 @@ nsHTMLEditor::DoInsertHTMLWithContext(const nsAString & aInputString,
nsAutoRules beginRulesSniffing(this, kOpHTMLPaste, nsIEditor::eNext);
// Get selection
nsCOMPtr<nsISelection>selection;
nsresult rv = GetSelection(getter_AddRefs(selection));
NS_ENSURE_SUCCESS(rv, rv);
nsRefPtr<nsTypedSelection> selection = GetTypedSelection();
NS_ENSURE_STATE(selection);
// create a dom document fragment that represents the structure to paste
nsCOMPtr<nsIDOMNode> fragmentAsNode, streamStartParent, streamEndParent;
PRInt32 streamStartOffset = 0, streamEndOffset = 0;
rv = CreateDOMFragmentFromPaste(aInputString, aContextStr, aInfoStr,
nsresult rv = CreateDOMFragmentFromPaste(aInputString, aContextStr, aInfoStr,
address_of(fragmentAsNode),
address_of(streamStartParent),
address_of(streamEndParent),
@ -405,7 +404,10 @@ nsHTMLEditor::DoInsertHTMLWithContext(const nsAString & aInputString,
NS_ENSURE_SUCCESS(rv, rv);
// pasting does not inherit local inline styles
rv = RemoveAllInlineProperties();
nsCOMPtr<nsIDOMNode> tmpNode =
do_QueryInterface(selection->GetAnchorNode());
PRInt32 tmpOffset = selection->GetAnchorOffset();
rv = ClearStyle(address_of(tmpNode), &tmpOffset, nsnull, nsnull);
NS_ENSURE_SUCCESS(rv, rv);
}
else

View File

@ -1264,12 +1264,19 @@ nsHTMLEditRules::WillInsert(nsISelection *aSelection, bool *aCancel)
}
}
// we need to get the doc
nsCOMPtr<nsIDOMDocument> doc = mHTMLEditor->GetDOMDocument();
NS_ENSURE_TRUE(doc, NS_ERROR_NOT_INITIALIZED);
if (mDidDeleteSelection &&
(mTheAction == nsEditor::kOpInsertText ||
mTheAction == nsEditor::kOpInsertIMEText ||
mTheAction == nsEditor::kOpInsertBreak ||
mTheAction == nsEditor::kOpDeleteSelection)) {
res = ReapplyCachedStyles();
NS_ENSURE_SUCCESS(res, res);
}
// either way we clear the cached styles array
res = ClearCachedStyles();
NS_ENSURE_SUCCESS(res, res);
// for every property that is set, insert a new inline style node
return CreateStyleForInsertText(aSelection, doc);
return NS_OK;
}
nsresult
@ -1317,6 +1324,14 @@ nsHTMLEditRules::WillInsertText(nsEditor::OperationID aAction,
// we want to ignore result of WillInsert()
*aCancel = false;
// we need to get the doc
nsCOMPtr<nsIDOMDocument> doc = mHTMLEditor->GetDOMDocument();
NS_ENSURE_TRUE(doc, NS_ERROR_NOT_INITIALIZED);
// for every property that is set, insert a new inline style node
res = CreateStyleForInsertText(aSelection, doc);
NS_ENSURE_SUCCESS(res, res);
// get the (collapsed) selection location
res = mHTMLEditor->GetStartNodeAndOffset(aSelection, getter_AddRefs(selNode), &selOffset);
NS_ENSURE_SUCCESS(res, res);
@ -1327,10 +1342,6 @@ nsHTMLEditRules::WillInsertText(nsEditor::OperationID aAction,
return NS_ERROR_FAILURE;
}
// we need to get the doc
nsCOMPtr<nsIDOMDocument> doc = mHTMLEditor->GetDOMDocument();
NS_ENSURE_TRUE(doc, NS_ERROR_NOT_INITIALIZED);
if (aAction == nsEditor::kOpInsertIMEText) {
// Right now the nsWSRunObject code bails on empty strings, but IME needs
// the InsertTextImpl() call to still happen since empty strings are meaningful there.
@ -4354,19 +4365,6 @@ nsHTMLEditRules::CreateStyleForInsertText(nsISelection *aSelection,
&offset);
NS_ENSURE_SUCCESS(res, res);
// if we deleted selection then also for cached styles
if (mDidDeleteSelection &&
(mTheAction == nsEditor::kOpInsertText ||
mTheAction == nsEditor::kOpInsertIMEText ||
mTheAction == nsEditor::kOpInsertBreak ||
mTheAction == nsEditor::kOpDeleteSelection)) {
res = ReapplyCachedStyles();
NS_ENSURE_SUCCESS(res, res);
}
// either way we clear the cached styles array
res = ClearCachedStyles();
NS_ENSURE_SUCCESS(res, res);
// next examine our present style and make sure default styles are either
// present or explicitly overridden. If neither, add the default style to
// the TypeInState
@ -4404,82 +4402,9 @@ nsHTMLEditRules::CreateStyleForInsertText(nsISelection *aSelection,
// process clearing any styles first
nsAutoPtr<PropItem> item(mHTMLEditor->mTypeInState->TakeClearProperty());
while (item && node != rootElement) {
nsCOMPtr<nsIDOMNode> leftNode, rightNode;
res = mHTMLEditor->SplitStyleAbovePoint(address_of(node), &offset,
item->tag, &item->attr,
address_of(leftNode),
address_of(rightNode));
res = mHTMLEditor->ClearStyle(address_of(node), &offset,
item->tag, &item->attr);
NS_ENSURE_SUCCESS(res, res);
bool bIsEmptyNode;
if (leftNode) {
mHTMLEditor->IsEmptyNode(leftNode, &bIsEmptyNode, false, true);
if (bIsEmptyNode) {
// delete leftNode if it became empty
res = mEditor->DeleteNode(leftNode);
NS_ENSURE_SUCCESS(res, res);
}
}
if (rightNode) {
nsCOMPtr<nsIDOMNode> secondSplitParent =
mHTMLEditor->GetLeftmostChild(rightNode);
// don't try to split non-containers (br's, images, hr's, etc)
if (!secondSplitParent) {
secondSplitParent = rightNode;
}
nsCOMPtr<nsIDOMNode> savedBR;
if (!mHTMLEditor->IsContainer(secondSplitParent)) {
if (nsTextEditUtils::IsBreak(secondSplitParent)) {
savedBR = secondSplitParent;
}
secondSplitParent->GetParentNode(getter_AddRefs(tmp));
secondSplitParent = tmp;
}
offset = 0;
res = mHTMLEditor->SplitStyleAbovePoint(address_of(secondSplitParent),
&offset, item->tag,
&item->attr,
address_of(leftNode),
address_of(rightNode));
NS_ENSURE_SUCCESS(res, res);
// should be impossible to not get a new leftnode here
NS_ENSURE_TRUE(leftNode, NS_ERROR_FAILURE);
nsCOMPtr<nsIDOMNode> newSelParent =
mHTMLEditor->GetLeftmostChild(leftNode);
if (!newSelParent) {
newSelParent = leftNode;
}
// If rightNode starts with a br, suck it out of right node and into
// leftNode. This is so we you don't revert back to the previous style
// if you happen to click at the end of a line.
if (savedBR) {
res = mEditor->MoveNode(savedBR, newSelParent, 0);
NS_ENSURE_SUCCESS(res, res);
}
mHTMLEditor->IsEmptyNode(rightNode, &bIsEmptyNode, false, true);
if (bIsEmptyNode) {
// delete rightNode if it became empty
res = mEditor->DeleteNode(rightNode);
NS_ENSURE_SUCCESS(res, res);
}
// remove the style on this new hierarchy
PRInt32 newSelOffset = 0;
{
// Track the point at the new hierarchy. This is so we can know where
// to put the selection after we call RemoveStyleInside().
// RemoveStyleInside() could remove any and all of those nodes, so I
// have to use the range tracking system to find the right spot to put
// selection.
nsAutoTrackDOMPoint tracker(mHTMLEditor->mRangeUpdater,
address_of(newSelParent), &newSelOffset);
res = mHTMLEditor->RemoveStyleInside(leftNode, item->tag,
&(item->attr));
NS_ENSURE_SUCCESS(res, res);
}
// reset our node offset values to the resulting new sel point
node = newSelParent;
offset = newSelOffset;
}
item = mHTMLEditor->mTypeInState->TakeClearProperty();
weDidSomething = true;
}

View File

@ -765,6 +765,9 @@ protected:
bool aDeleteSelection,
bool aTrustedInput);
nsresult ClearStyle(nsCOMPtr<nsIDOMNode>* aNode, PRInt32* aOffset,
nsIAtom* aProperty, const nsAString* aAttribute);
// Data members
protected:

View File

@ -626,6 +626,85 @@ nsresult nsHTMLEditor::SplitStyleAbovePoint(nsCOMPtr<nsIDOMNode> *aNode,
return NS_OK;
}
nsresult
nsHTMLEditor::ClearStyle(nsCOMPtr<nsIDOMNode>* aNode, PRInt32* aOffset,
nsIAtom* aProperty, const nsAString* aAttribute)
{
nsCOMPtr<nsIDOMNode> leftNode, rightNode, tmp;
nsresult res = SplitStyleAbovePoint(aNode, aOffset, aProperty, aAttribute,
address_of(leftNode),
address_of(rightNode));
NS_ENSURE_SUCCESS(res, res);
if (leftNode) {
bool bIsEmptyNode;
IsEmptyNode(leftNode, &bIsEmptyNode, false, true);
if (bIsEmptyNode) {
// delete leftNode if it became empty
res = DeleteNode(leftNode);
NS_ENSURE_SUCCESS(res, res);
}
}
if (rightNode) {
nsCOMPtr<nsIDOMNode> secondSplitParent = GetLeftmostChild(rightNode);
// don't try to split non-containers (br's, images, hr's, etc)
if (!secondSplitParent) {
secondSplitParent = rightNode;
}
nsCOMPtr<nsIDOMNode> savedBR;
if (!IsContainer(secondSplitParent)) {
if (nsTextEditUtils::IsBreak(secondSplitParent)) {
savedBR = secondSplitParent;
}
secondSplitParent->GetParentNode(getter_AddRefs(tmp));
secondSplitParent = tmp;
}
*aOffset = 0;
res = SplitStyleAbovePoint(address_of(secondSplitParent),
aOffset, aProperty, aAttribute,
address_of(leftNode), address_of(rightNode));
NS_ENSURE_SUCCESS(res, res);
// should be impossible to not get a new leftnode here
NS_ENSURE_TRUE(leftNode, NS_ERROR_FAILURE);
nsCOMPtr<nsIDOMNode> newSelParent = GetLeftmostChild(leftNode);
if (!newSelParent) {
newSelParent = leftNode;
}
// If rightNode starts with a br, suck it out of right node and into
// leftNode. This is so we you don't revert back to the previous style
// if you happen to click at the end of a line.
if (savedBR) {
res = MoveNode(savedBR, newSelParent, 0);
NS_ENSURE_SUCCESS(res, res);
}
bool bIsEmptyNode;
IsEmptyNode(rightNode, &bIsEmptyNode, false, true);
if (bIsEmptyNode) {
// delete rightNode if it became empty
res = DeleteNode(rightNode);
NS_ENSURE_SUCCESS(res, res);
}
// remove the style on this new hierarchy
PRInt32 newSelOffset = 0;
{
// Track the point at the new hierarchy. This is so we can know where
// to put the selection after we call RemoveStyleInside().
// RemoveStyleInside() could remove any and all of those nodes, so I
// have to use the range tracking system to find the right spot to put
// selection.
nsAutoTrackDOMPoint tracker(mRangeUpdater,
address_of(newSelParent), &newSelOffset);
res = RemoveStyleInside(leftNode, aProperty, aAttribute);
NS_ENSURE_SUCCESS(res, res);
}
// reset our node offset values to the resulting new sel point
*aNode = newSelParent;
*aOffset = newSelOffset;
}
return NS_OK;
}
bool nsHTMLEditor::NodeIsProperty(nsIDOMNode *aNode)
{
NS_ENSURE_TRUE(aNode, false);