--- a/conformancetest/data.js Mon Sep 19 15:35:44 2011 -0600
+++ b/conformancetest/data.js Wed Sep 21 11:40:35 2011 -0600
@@ -15,6 +15,14 @@
[["stylewithcss","true"],["backcolor","#00FFFF"]],
"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p> <p><span style=\"background-color:rgb(0, 255, 255)\">bar]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["backcolor","#00FFFF"]],
+ "<span style=\"background-color:rgb(0, 255, 255)\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,true,"",false,false,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["backcolor","#00FFFF"]],
+ "<span style=\"background-color:rgb(0, 255, 255)\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,false,"",false,true,""],"backcolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["backcolor","#00FFFF"]],
"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span> </span></p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
@@ -335,6 +343,14 @@
[["stylewithcss","true"],["bold",""]],
"<p><span style=\"font-weight:bold\">[foo</span></p> <p><span style=\"font-weight:bold\">bar]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["bold",""]],
+ "<b><span>[foo</span> <span>bar]</span></b>",
+ {"stylewithcss":[false,true,"",false,false,""],"bold":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["bold",""]],
+ "<span style=\"font-weight:bold\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,false,"",false,true,""],"bold":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["bold",""]],
"<p><b>[foo</b></p><p> <b><span>bar</span> </b></p><p><b>baz]</b></p>",
@@ -1303,6 +1319,14 @@
[["stylewithcss","true"],["createlink","http://www.google.com/"]],
"<p><a href=\"http://www.google.com/\">[foo</a></p> <p><a href=\"http://www.google.com/\">bar]</a></p>",
{"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["createlink","http://www.google.com/"]],
+ "<a href=\"http://www.google.com/\"><span>[foo</span> <span>bar]</span></a>",
+ {"stylewithcss":[false,true,"",false,false,""],"createlink":[false,false,"",false,false,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["createlink","http://www.google.com/"]],
+ "<a href=\"http://www.google.com/\"><span>[foo</span> <span>bar]</span></a>",
+ {"stylewithcss":[false,false,"",false,true,""],"createlink":[false,false,"",false,false,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["createlink","http://www.google.com/"]],
"<p><a href=\"http://www.google.com/\">[foo</a></p><p> <a href=\"http://www.google.com/\"><span>bar</span> </a></p><p><a href=\"http://www.google.com/\">baz]</a></p>",
@@ -3871,6 +3895,14 @@
[["stylewithcss","true"],["fontname","sans-serif"]],
"<p><span style=\"font-family:sans-serif\">[foo</span></p> <p><span style=\"font-family:sans-serif\">bar]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["fontname","sans-serif"]],
+ "<font face=\"sans-serif\"><span>[foo</span> <span>bar]</span></font>",
+ {"stylewithcss":[false,true,"",false,false,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["fontname","sans-serif"]],
+ "<span style=\"font-family:sans-serif\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,false,"",false,true,""],"fontname":[false,false,"serif",false,false,"sans-serif"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["fontname","sans-serif"]],
"<p><font face=\"sans-serif\">[foo</font></p><p> <font face=\"sans-serif\"><span>bar</span> </font></p><p><font face=\"sans-serif\">baz]</font></p>",
@@ -4455,6 +4487,14 @@
[["stylewithcss","true"],["fontsize","4"]],
"<p><span style=\"font-size:large\">[foo</span></p> <p><span style=\"font-size:large\">bar]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["fontsize","4"]],
+ "<font size=\"4\"><span>[foo</span> <span>bar]</span></font>",
+ {"stylewithcss":[false,true,"",false,false,""],"fontsize":[false,false,"3",false,false,"4"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["fontsize","4"]],
+ "<span style=\"font-size:large\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,false,"",false,true,""],"fontsize":[false,false,"3",false,false,"4"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["fontsize","4"]],
"<p><font size=\"4\">[foo</font></p><p> <font size=\"4\"><span>bar</span> </font></p><p><font size=\"4\">baz]</font></p>",
@@ -5135,6 +5175,14 @@
[["stylewithcss","true"],["forecolor","#0000FF"]],
"<p><span style=\"color:rgb(0, 0, 255)\">[foo</span></p> <p><span style=\"color:rgb(0, 0, 255)\">bar]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["forecolor","#0000FF"]],
+ "<font color=\"#0000ff\"><span>[foo</span> <span>bar]</span></font>",
+ {"stylewithcss":[false,true,"",false,false,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["forecolor","#0000FF"]],
+ "<span style=\"color:rgb(0, 0, 255)\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,false,"",false,true,""],"forecolor":[false,false,"rgb(0, 0, 0)",false,false,"rgb(0, 0, 255)"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["forecolor","#0000FF"]],
"<p><font color=\"#0000ff\">[foo</font></p><p> <font color=\"#0000ff\"><span>bar</span> </font></p><p><font color=\"#0000ff\">baz]</font></p>",
@@ -9735,6 +9783,14 @@
[["stylewithcss","true"],["hilitecolor","#00FFFF"]],
"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p> <p><span style=\"background-color:rgb(0, 255, 255)\">bar]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["hilitecolor","#00FFFF"]],
+ "<span style=\"background-color:rgb(0, 255, 255)\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,true,"",false,false,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["hilitecolor","#00FFFF"]],
+ "<span style=\"background-color:rgb(0, 255, 255)\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,false,"",false,true,""],"hilitecolor":[false,false,"rgba(0, 0, 0, 0)",false,false,"rgb(0, 255, 255)"]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["hilitecolor","#00FFFF"]],
"<p><span style=\"background-color:rgb(0, 255, 255)\">[foo</span></p><p> <span style=\"background-color:rgb(0, 255, 255)\"><span>bar</span> </span></p><p><span style=\"background-color:rgb(0, 255, 255)\">baz]</span></p>",
@@ -17479,6 +17535,14 @@
[["stylewithcss","true"],["italic",""]],
"<p><span style=\"font-style:italic\">[foo</span></p> <p><span style=\"font-style:italic\">bar]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["italic",""]],
+ "<i><span>[foo</span> <span>bar]</span></i>",
+ {"stylewithcss":[false,true,"",false,false,""],"italic":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["italic",""]],
+ "<span style=\"font-style:italic\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,false,"",false,true,""],"italic":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["italic",""]],
"<p><i>[foo</i></p><p> <i><span>bar</span> </i></p><p><i>baz]</i></p>",
@@ -22383,6 +22447,14 @@
[["stylewithcss","true"],["strikethrough",""]],
"<p><span style=\"text-decoration:line-through\">[foo</span></p> <p><span style=\"text-decoration:line-through\">bar]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["strikethrough",""]],
+ "<s><span>[foo</span> <span>bar]</span></s>",
+ {"stylewithcss":[false,true,"",false,false,""],"strikethrough":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["strikethrough",""]],
+ "<span style=\"text-decoration:line-through\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,false,"",false,true,""],"strikethrough":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["strikethrough",""]],
"<p><s>[foo</s></p><p> <s><span>bar</span> </s></p><p><s>baz]</s></p>",
@@ -23023,6 +23095,14 @@
[["stylewithcss","true"],["subscript",""]],
"<p><sub>[foo</sub></p> <p><sub>bar]</sub></p>",
{"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["subscript",""]],
+ "<sub><span>[foo</span> <span>bar]</span></sub>",
+ {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["subscript",""]],
+ "<sub><span>[foo</span> <span>bar]</span></sub>",
+ {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["subscript",""]],
"<p><sub>[foo</sub></p><p> <sub><span>bar</span> </sub></p><p><sub>baz]</sub></p>",
@@ -23399,6 +23479,14 @@
[["stylewithcss","true"],["superscript",""]],
"<p><sup>[foo</sup></p> <p><sup>bar]</sup></p>",
{"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["superscript",""]],
+ "<sup><span>[foo</span> <span>bar]</span></sup>",
+ {"stylewithcss":[false,true,"",false,false,""],"superscript":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["superscript",""]],
+ "<sup><span>[foo</span> <span>bar]</span></sup>",
+ {"stylewithcss":[false,false,"",false,true,""],"superscript":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["superscript",""]],
"<p><sup>[foo</sup></p><p> <sup><span>bar</span> </sup></p><p><sup>baz]</sup></p>",
@@ -23783,6 +23871,14 @@
[["stylewithcss","true"],["underline",""]],
"<p><span style=\"text-decoration:underline\">[foo</span></p> <p><span style=\"text-decoration:underline\">bar]</span></p>",
{"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["underline",""]],
+ "<u><span>[foo</span> <span>bar]</span></u>",
+ {"stylewithcss":[false,true,"",false,false,""],"underline":[false,false,"",false,true,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["underline",""]],
+ "<span style=\"text-decoration:underline\"><span>[foo</span> <span>bar]</span></span>",
+ {"stylewithcss":[false,false,"",false,true,""],"underline":[false,false,"",false,true,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["underline",""]],
"<p><u>[foo</u></p><p> <u><span>bar</span> </u></p><p><u>baz]</u></p>",
@@ -24423,6 +24519,14 @@
[["stylewithcss","true"],["unlink",""]],
"<p>[foo</p> <p>bar]</p>",
{"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","false"],["unlink",""]],
+ "<span>[foo</span> <span>bar]</span>",
+ {"stylewithcss":[false,true,"",false,false,""],"unlink":[false,false,"",false,false,""]}],
+["<span>[foo</span> <span>bar]</span>",
+ [["stylewithcss","true"],["unlink",""]],
+ "<span>[foo</span> <span>bar]</span>",
+ {"stylewithcss":[false,false,"",false,true,""],"unlink":[false,false,"",false,false,""]}],
["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
[["stylewithcss","false"],["unlink",""]],
"<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",