--- a/conformancetest/data.js Thu Sep 22 11:54:31 2011 -0600
+++ b/conformancetest/data.js Thu Sep 22 13:53:40 2011 -0600
@@ -2071,6 +2071,22 @@
[["stylewithcss","true"],["delete",""]],
"fo[]<a href=\"/\" name=\"abc\">bar</a>",
{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo []",
+ [["stylewithcss","false"],["delete",""]],
+ "foo []",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo []",
+ [["stylewithcss","true"],["delete",""]],
+ "foo []",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+[" [] foo",
+ [["stylewithcss","false"],["delete",""]],
+ "{} foo",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+[" [] foo",
+ [["stylewithcss","true"],["delete",""]],
+ "{} foo",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
["foo []bar",
[["stylewithcss","false"],["delete",""]],
"foo []bar",
@@ -2103,6 +2119,54 @@
[["stylewithcss","true"],["delete",""]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo [] bar",
+ [["stylewithcss","false"],["delete",""]],
+ "foo[] bar",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo [] bar",
+ [["stylewithcss","true"],["delete",""]],
+ "foo[] bar",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo [] bar",
+ [["stylewithcss","false"],["delete",""]],
+ "foo []bar",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo [] bar",
+ [["stylewithcss","true"],["delete",""]],
+ "foo []bar",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo []bar",
+ [["stylewithcss","false"],["delete",""]],
+ "foo []bar",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo []bar",
+ [["stylewithcss","true"],["delete",""]],
+ "foo []bar",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo []<span> </span> bar",
+ [["stylewithcss","false"],["delete",""]],
+ "foo[]<span> </span> bar",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo []<span> </span> bar",
+ [["stylewithcss","true"],["delete",""]],
+ "foo[]<span> </span> bar",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo <span> </span>[] bar",
+ [["stylewithcss","false"],["delete",""]],
+ "foo {}bar",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo <span> </span>[] bar",
+ [["stylewithcss","true"],["delete",""]],
+ "foo {}bar",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo <span> </span> []bar",
+ [["stylewithcss","false"],["delete",""]],
+ "foo <span> </span>{}bar",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo <span> </span> []bar",
+ [["stylewithcss","true"],["delete",""]],
+ "foo <span> </span>{}bar",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
["<b>foo </b> []bar",
[["stylewithcss","false"],["delete",""]],
"<b>foo </b>{}bar",
@@ -2135,6 +2199,14 @@
[["stylewithcss","true"],["delete",""]],
"<b>foo[]</b>bar",
{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo </p><p>[] bar</p>",
+ [["stylewithcss","false"],["delete",""]],
+ "<p>foo {} bar</p>",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<p>foo </p><p>[] bar</p>",
+ [["stylewithcss","true"],["delete",""]],
+ "<p>foo {} bar</p>",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
["foo<table><tr><td>[]bar</table>baz",
[["stylewithcss","false"],["delete",""]],
"foo<table><tbody><tr><td>[]bar</td></tr></tbody></table>baz",
@@ -3831,6 +3903,30 @@
[["stylewithcss","true"],["delete",""]],
"<b>foo []</b>",
{"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["foo<b> [ bar]</b>",
+ [["stylewithcss","false"],["delete",""]],
+ "foo<b> []</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["foo<b> [ bar]</b>",
+ [["stylewithcss","true"],["delete",""]],
+ "foo<b> []</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["<b>[foo ] </b>bar",
+ [["stylewithcss","false"],["delete",""]],
+ "<b>{} </b>bar",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["<b>[foo ] </b>bar",
+ [["stylewithcss","true"],["delete",""]],
+ "<b>{} </b>bar",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
+["[foo<b> ] bar</b>",
+ [["stylewithcss","false"],["delete",""]],
+ "{}<b> bar</b>",
+ {"stylewithcss":[false,true,"",false,false,""],"delete":[false,false,"",false,false,""]}],
+["[foo<b> ] bar</b>",
+ [["stylewithcss","true"],["delete",""]],
+ "{}<b> bar</b>",
+ {"stylewithcss":[false,false,"",false,true,""],"delete":[false,false,"",false,false,""]}],
["<p style=display:inline>fo[o<p style=display:inline>b]ar",
[["stylewithcss","false"],["delete",""]],
"<p style=\"display:inline\">fo[]</p><p style=\"display:inline\">ar</p>",
@@ -8151,6 +8247,22 @@
[["stylewithcss","true"],["forwarddelete",""]],
"<a href=\"/\" name=\"abc\">foo</a>{}ar",
{"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo [] ",
+ [["stylewithcss","false"],["forwarddelete",""]],
+ "foo []",
+ {"stylewithcss":[false,true,"",false,false,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo [] ",
+ [["stylewithcss","true"],["forwarddelete",""]],
+ "foo []",
+ {"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
+["[] foo",
+ [["stylewithcss","false"],["forwarddelete",""]],
+ "{} foo",
+ {"stylewithcss":[false,true,"",false,false,""],"forwarddelete":[false,false,"",false,false,""]}],
+["[] foo",
+ [["stylewithcss","true"],["forwarddelete",""]],
+ "{} foo",
+ {"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
["foo[] bar",
[["stylewithcss","false"],["forwarddelete",""]],
"foo[] bar",
@@ -8183,6 +8295,54 @@
[["stylewithcss","true"],["forwarddelete",""]],
"foo[]bar",
{"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo[] bar",
+ [["stylewithcss","false"],["forwarddelete",""]],
+ "foo[] bar",
+ {"stylewithcss":[false,true,"",false,false,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo[] bar",
+ [["stylewithcss","true"],["forwarddelete",""]],
+ "foo[] bar",
+ {"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo [] bar",
+ [["stylewithcss","false"],["forwarddelete",""]],
+ "foo []bar",
+ {"stylewithcss":[false,true,"",false,false,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo [] bar",
+ [["stylewithcss","true"],["forwarddelete",""]],
+ "foo []bar",
+ {"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo [] bar",
+ [["stylewithcss","false"],["forwarddelete",""]],
+ "foo []bar",
+ {"stylewithcss":[false,true,"",false,false,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo [] bar",
+ [["stylewithcss","true"],["forwarddelete",""]],
+ "foo []bar",
+ {"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo[] <span> </span> bar",
+ [["stylewithcss","false"],["forwarddelete",""]],
+ "foo[]<span> </span> bar",
+ {"stylewithcss":[false,true,"",false,false,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo[] <span> </span> bar",
+ [["stylewithcss","true"],["forwarddelete",""]],
+ "foo[]<span> </span> bar",
+ {"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo []<span> </span> bar",
+ [["stylewithcss","false"],["forwarddelete",""]],
+ "foo {}bar",
+ {"stylewithcss":[false,true,"",false,false,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo []<span> </span> bar",
+ [["stylewithcss","true"],["forwarddelete",""]],
+ "foo {}bar",
+ {"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo <span> </span>[] bar",
+ [["stylewithcss","false"],["forwarddelete",""]],
+ "foo <span> </span>{}bar",
+ {"stylewithcss":[false,true,"",false,false,""],"forwarddelete":[false,false,"",false,false,""]}],
+["foo <span> </span>[] bar",
+ [["stylewithcss","true"],["forwarddelete",""]],
+ "foo <span> </span>{}bar",
+ {"stylewithcss":[false,false,"",false,true,""],"forwarddelete":[false,false,"",false,false,""]}],
["<b>foo[] </b> bar",
[["stylewithcss","false"],["forwarddelete",""]],
"<b>foo[]</b> bar",
@@ -16855,6 +17015,70 @@
[["stylewithcss","true"],["inserttext","a"]],
"<blockquote><font color=\"blue\">a[]</font></blockquote>",
{"stylewithcss":[false,false,"",false,true,""],"inserttext":[false,false,"",false,false,""]}],
+["foo[] ",
+ [["stylewithcss","false"],["inserttext"," "]],
+ "foo [] ",
+ {"stylewithcss":[false,true,"",false,false,""],"inserttext":[false,false,"",false,false,""]}],
+["foo[] ",
+ [["stylewithcss","true"],["inserttext"," "]],
+ "foo [] ",
+ {"stylewithcss":[false,false,"",false,true,""],"inserttext":[false,false,"",false,false,""]}],
+[" foo [] ",
+ [["stylewithcss","false"],["inserttext"," "]],
+ " foo [] ",
+ {"stylewithcss":[false,true,"",false,false,""],"inserttext":[false,false,"",false,false,""]}],
+[" foo [] ",
+ [["stylewithcss","true"],["inserttext"," "]],
+ " foo [] ",
+ {"stylewithcss":[false,false,"",false,true,""],"inserttext":[false,false,"",false,false,""]}],
+["foo[]<span> </span>",
+ [["stylewithcss","false"],["inserttext"," "]],
+ "foo []<span> </span>",
+ {"stylewithcss":[false,true,"",false,false,""],"inserttext":[false,false,"",false,false,""]}],
+["foo[]<span> </span>",
+ [["stylewithcss","true"],["inserttext"," "]],
+ "foo []<span> </span>",
+ {"stylewithcss":[false,false,"",false,true,""],"inserttext":[false,false,"",false,false,""]}],
+["foo[]<span> </span> ",
+ [["stylewithcss","false"],["inserttext"," "]],
+ "foo []<span> </span> ",
+ {"stylewithcss":[false,true,"",false,false,""],"inserttext":[false,false,"",false,false,""]}],
+["foo[]<span> </span> ",
+ [["stylewithcss","true"],["inserttext"," "]],
+ "foo []<span> </span> ",
+ {"stylewithcss":[false,false,"",false,true,""],"inserttext":[false,false,"",false,false,""]}],
+[" []foo",
+ [["stylewithcss","false"],["inserttext"," "]],
+ " []foo",
+ {"stylewithcss":[false,true,"",false,false,""],"inserttext":[false,false,"",false,false,""]}],
+[" []foo",
+ [["stylewithcss","true"],["inserttext"," "]],
+ " []foo",
+ {"stylewithcss":[false,false,"",false,true,""],"inserttext":[false,false,"",false,false,""]}],
+[" [] foo ",
+ [["stylewithcss","false"],["inserttext"," "]],
+ " [] foo ",
+ {"stylewithcss":[false,true,"",false,false,""],"inserttext":[false,false,"",false,false,""]}],
+[" [] foo ",
+ [["stylewithcss","true"],["inserttext"," "]],
+ " [] foo ",
+ {"stylewithcss":[false,false,"",false,true,""],"inserttext":[false,false,"",false,false,""]}],
+["<span> </span>[]foo",
+ [["stylewithcss","false"],["inserttext"," "]],
+ "<span> </span> []foo",
+ {"stylewithcss":[false,true,"",false,false,""],"inserttext":[false,false,"",false,false,""]}],
+["<span> </span>[]foo",
+ [["stylewithcss","true"],["inserttext"," "]],
+ "<span> </span> []foo",
+ {"stylewithcss":[false,false,"",false,true,""],"inserttext":[false,false,"",false,false,""]}],
+[" <span> </span>[]foo",
+ [["stylewithcss","false"],["inserttext"," "]],
+ " <span> </span> []foo",
+ {"stylewithcss":[false,true,"",false,false,""],"inserttext":[false,false,"",false,false,""]}],
+[" <span> </span>[]foo",
+ [["stylewithcss","true"],["inserttext"," "]],
+ " <span> </span> []foo",
+ {"stylewithcss":[false,false,"",false,true,""],"inserttext":[false,false,"",false,false,""]}],
["foo[]bar",
[["stylewithcss","false"],["insertunorderedlist",""]],
"<ul><li>foo[]bar</li></ul>",