<font size=1> is x-small, not xx-small
authorAryeh Gregor <ayg@aryeh.name>
Mon, 23 Apr 2012 06:48:12 -0600
changeset 718 583bf580775b
parent 717 195aab1749d2
child 719 050ef03404c7
<font size=1> is x-small, not xx-small
conformancetest/data.js
editing.html
implementation.js
source.html
--- a/conformancetest/data.js	Mon Apr 23 06:46:34 2012 -0600
+++ b/conformancetest/data.js	Mon Apr 23 06:48:12 2012 -0600
@@ -10325,7 +10325,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","1"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","1"]],
@@ -10333,7 +10333,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","1"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","0"]],
@@ -10341,7 +10341,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","0"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","0"]],
@@ -10349,7 +10349,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","0"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","-5"]],
@@ -10357,7 +10357,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","-5"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","-5"]],
@@ -10365,7 +10365,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","-5"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","6"]],
@@ -10485,7 +10485,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize"," 1 "]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize"," 1 "]],
@@ -10493,7 +10493,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize"," 1 "]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","1."]],
@@ -10517,7 +10517,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","1.0"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","1.0"]],
@@ -10525,7 +10525,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","1.0"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","1.0e2"]],
@@ -10533,7 +10533,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","1.0e2"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","1.0e2"]],
@@ -10541,7 +10541,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","1.0e2"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","1.1"]],
@@ -10549,7 +10549,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","1.1"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","1.1"]],
@@ -10557,7 +10557,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","1.1"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","1.9"]],
@@ -10565,7 +10565,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","1.9"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","1.9"]],
@@ -10573,7 +10573,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","1.9"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","+0"]],
@@ -10661,7 +10661,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","-9"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","-9"]],
@@ -10669,7 +10669,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","-9"]],
-	"foo<span style=\"font-size:xx-small\">[bar]</span>baz",
+	"foo<span style=\"font-size:x-small\">[bar]</span>baz",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"3",false,false,"1"]}],
 ["foo[bar]baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize",""]],
@@ -10917,7 +10917,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"1",false,false,"4"]}],
 ["<font size=4>foo<font size=1>b[a]r</font>baz</font>",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","4"]],
-	"<font size=\"4\">foo<span style=\"font-size:xx-small\">b</span>[a]<span style=\"font-size:xx-small\">r</span>baz</font>",
+	"<font size=\"4\">foo<span style=\"font-size:x-small\">b</span>[a]<span style=\"font-size:x-small\">r</span>baz</font>",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"1",false,false,"4"]}],
 ["<font size=4>foo<font size=1>b[a]r</font>baz</font>",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","4"]],
@@ -10925,7 +10925,7 @@
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"1",false,false,"4"]}],
 ["<font size=4>foo<font size=1>b[a]r</font>baz</font>",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","4"]],
-	"<font size=\"4\">foo<span style=\"font-size:xx-small\">b</span>[a]<span style=\"font-size:xx-small\">r</span>baz</font>",
+	"<font size=\"4\">foo<span style=\"font-size:x-small\">b</span>[a]<span style=\"font-size:x-small\">r</span>baz</font>",
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"1",false,false,"4"]}],
 ["foo<span style=\"font-size: xx-small\">[bar]</span>baz",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","4"]],
@@ -11025,7 +11025,7 @@
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"4",false,false,"4"]}],
 ["<span style=\"font-size: large\">foo<span style=\"font-size: xx-small\">b[a]r</span>baz</span>",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","4"]],
-	"<span style=\"font-size:large\">foo<font size=\"1\">b</font>[a]<font size=\"1\">r</font>baz</span>",
+	"<span style=\"font-size:large\">foo<span style=\"font-size:xx-small\">b</span>[a]<span style=\"font-size:xx-small\">r</span>baz</span>",
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"1",false,false,"4"]}],
 ["<span style=\"font-size: large\">foo<span style=\"font-size: xx-small\">b[a]r</span>baz</span>",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","4"]],
@@ -11033,7 +11033,7 @@
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"1",false,false,"4"]}],
 ["<span style=\"font-size: large\">foo<span style=\"font-size: xx-small\">b[a]r</span>baz</span>",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","4"]],
-	"<span style=\"font-size:large\">foo<font size=\"1\">b</font>[a]<font size=\"1\">r</font>baz</span>",
+	"<span style=\"font-size:large\">foo<span style=\"font-size:xx-small\">b</span>[a]<span style=\"font-size:xx-small\">r</span>baz</span>",
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"1",false,false,"4"]}],
 ["<span style=\"font-size: large\">foo<span style=\"font-size: xx-small\">b[a]r</span>baz</span>",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","4"]],
@@ -11137,7 +11137,7 @@
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"div",false,false,"div"],"fontsize":[false,false,"6",false,false,"4"]}],
 ["<p style=\"font-size: xx-small\">foo[bar]baz</p>",
 	[["stylewithcss","false"],["defaultparagraphseparator","p"],["fontsize","3"]],
-	"<p><font size=\"1\">foo</font>[bar]<font size=\"1\">baz</font></p>",
+	"<p><span style=\"font-size:xx-small\">foo</span>[bar]<span style=\"font-size:xx-small\">baz</span></p>",
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"div",false,false,"p"],"fontsize":[false,false,"1",false,false,"3"]}],
 ["<p style=\"font-size: xx-small\">foo[bar]baz</p>",
 	[["stylewithcss","true"],["defaultparagraphseparator","p"],["fontsize","3"]],
@@ -11145,7 +11145,7 @@
 	{"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[false,false,"p",false,false,"p"],"fontsize":[false,false,"1",false,false,"3"]}],
 ["<p style=\"font-size: xx-small\">foo[bar]baz</p>",
 	[["stylewithcss","false"],["defaultparagraphseparator","div"],["fontsize","3"]],
-	"<p><font size=\"1\">foo</font>[bar]<font size=\"1\">baz</font></p>",
+	"<p><span style=\"font-size:xx-small\">foo</span>[bar]<span style=\"font-size:xx-small\">baz</span></p>",
 	{"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[false,false,"p",false,false,"div"],"fontsize":[false,false,"1",false,false,"3"]}],
 ["<p style=\"font-size: xx-small\">foo[bar]baz</p>",
 	[["stylewithcss","true"],["defaultparagraphseparator","div"],["fontsize","3"]],
--- a/editing.html	Mon Apr 23 06:46:34 2012 -0600
+++ b/editing.html	Mon Apr 23 06:48:12 2012 -0600
@@ -67,7 +67,7 @@
 <body class=draft>
 <div class=head id=head>
 <h1>HTML Editing APIs</h1>
-<h2 class="no-num no-toc" id=work-in-progress-&mdash;-last-update-12-march-2012>Work in Progress &mdash; Last Update 12 March 2012</h2>
+<h2 class="no-num no-toc" id=work-in-progress-&mdash;-last-update-23-april-2012>Work in Progress &mdash; Last Update 23 April 2012</h2>
 <dl>
  <dt>Editor
  <dd>Aryeh Gregor &lt;<a href=mailto:[email protected]>[email protected]</a>&gt;
@@ -2672,7 +2672,7 @@
 <p>Two quantities are <dfn id=loosely-equivalent-values>loosely equivalent values</dfn> for a
 <a href=#command>command</a> if either they are <a href=#equivalent-values>equivalent values</a> for the
 <a href=#command>command</a>, or if the <a href=#command>command</a> is <a href=#the-fontsize-command>the <code title="">fontSize</code> command</a>; one of the quantities is one of
-"xx-small", "small", "medium", "large", "x-large", "xx-large", or "xxx-large";
+"x-small", "small", "medium", "large", "x-large", "xx-large", or "xxx-large";
 and the other quantity is the <a href=http://dev.w3.org/csswg/cssom/#resolved-value>resolved value</a> of "font-size" on a <code class=external data-anolis-spec=html title=font><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#font>font</a></code> element
 whose <code class=external data-anolis-spec=html title=dom-font-size><a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-font-size>size</a></code> attribute has the corresponding value set ("1" through "7"
 respectively).
@@ -3434,7 +3434,7 @@
   We just output a font tag no matter what for size=7.
 
   <p>If <var title="">command</var> is "fontSize"; and <var title="">new value</var> is one of
-  "xx-small", "small", "medium", "large", "x-large", "xx-large", or
+  "x-small", "small", "medium", "large", "x-large", "xx-large", or
   "xxx-large"; and either the <a href=#css-styling-flag>CSS styling flag</a> is false, or
   <var title="">new value</var> is "xxx-large": let <var title="">new parent</var> be the result
   of calling <code class=external data-anolis-spec=domcore title=dom-Document-createElement><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement>createElement("font")</a></code> on the
@@ -3443,7 +3443,7 @@
   <var title="">new value</var>:
 
   <ul>
-    <li>xx-small: 1
+    <li>x-small: 1
     <li>small: 2
     <li>normal: 3
     <li>large: 4
@@ -4051,6 +4051,9 @@
 avoid it we'd really have to create a new command.  If nothing else, the value
 returned by <code title="">queryCommandValue()</code> has to be numeric, so authors can't
 really use the command sanely no matter what we do.  See <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14251">bug 14251</a>.
+
+<p>Note that 1 is the same size as x-small in browsers, not xx-small, contrary
+to the CSS Fonts spec.
 </div>
 
 <p><a href=#action>Action</a>:
@@ -4097,7 +4100,7 @@
   not legacy sizes.
 
   <ul>
-    <li>1: xx-small
+    <li>1: x-small
     <li>2: small
     <li>3: medium
     <li>4: large
--- a/implementation.js	Mon Apr 23 06:46:34 2012 -0600
+++ b/implementation.js	Mon Apr 23 06:48:12 2012 -0600
@@ -137,7 +137,7 @@
 // is none.
 function cssSizeToLegacy(cssVal) {
 	return {
-		"xx-small": 1,
+		"x-small": 1,
 		"small": 2,
 		"medium": 3,
 		"large": 4,
@@ -150,7 +150,7 @@
 // Return the CSS size given a legacy size.
 function legacySizeToCss(legacyVal) {
 	return {
-		1: "xx-small",
+		1: "x-small",
 		2: "small",
 		3: "medium",
 		4: "large",
@@ -2020,7 +2020,7 @@
 
 // "Two quantities are loosely equivalent values for a command if either they
 // are equivalent values for the command, or if the command is the fontSize
-// command; one of the quantities is one of "xx-small", "small", "medium",
+// command; one of the quantities is one of "x-small", "small", "medium",
 // "large", "x-large", "xx-large", or "xxx-large"; and the other quantity is
 // the resolved value of "font-size" on a font element whose size attribute has
 // the corresponding value set ("1" through "7" respectively)."
@@ -2041,7 +2041,7 @@
 		callee.sizeMap = {};
 		var font = document.createElement("font");
 		document.body.appendChild(font);
-		["xx-small", "small", "medium", "large", "x-large", "xx-large",
+		["x-small", "small", "medium", "large", "x-large", "xx-large",
 		"xxx-large"].forEach(function(keyword) {
 			font.size = cssSizeToLegacy(keyword);
 			callee.sizeMap[keyword] = getComputedStyle(font).fontSize;
@@ -2305,7 +2305,7 @@
 				size = 7;
 			}
 			return {
-				1: "xx-small",
+				1: "x-small",
 				2: "small",
 				3: "medium",
 				4: "large",
@@ -2842,14 +2842,14 @@
 		}
 	}
 
-	// "If command is "fontSize"; and new value is one of "xx-small", "small",
+	// "If command is "fontSize"; and new value is one of "x-small", "small",
 	// "medium", "large", "x-large", "xx-large", or "xxx-large"; and either the
 	// CSS styling flag is false, or new value is "xxx-large": let new parent
 	// be the result of calling createElement("font") on the ownerDocument of
 	// node, then set the size attribute of new parent to the number from the
 	// following table based on new value: [table omitted]"
 	if (command == "fontsize"
-	&& ["xx-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large"].indexOf(newValue) != -1
+	&& ["x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large"].indexOf(newValue) != -1
 	&& (!cssStylingFlag || newValue == "xxx-large")) {
 		newParent = node.ownerDocument.createElement("font");
 		newParent.size = cssSizeToLegacy(newValue);
@@ -3232,7 +3232,7 @@
 
 	// "Set value to the string here corresponding to number:" [table omitted]
 	value = {
-		1: "xx-small",
+		1: "x-small",
 		2: "small",
 		3: "medium",
 		4: "large",
@@ -3301,7 +3301,7 @@
 		return getLegacyFontSize.resultCache[size] = cssSizeToLegacy(normalizeFontSize(size));
 	}
 
-	if (["xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large"].indexOf(size) == -1
+	if (["x-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large"].indexOf(size) == -1
 	&& !/^[0-9]+(\.[0-9]+)?(cm|mm|in|pt|pc|px)$/.test(size)) {
 		// There is no sensible legacy size for things like "2em".
 		return getLegacyFontSize.resultCache[size] = null;
--- a/source.html	Mon Apr 23 06:46:34 2012 -0600
+++ b/source.html	Mon Apr 23 06:48:12 2012 -0600
@@ -2674,7 +2674,7 @@
 <span>command</span> if either they are <span>equivalent values</span> for the
 <span>command</span>, or if the <span>command</span> is <span>the <code
 title>fontSize</code> command</span>; one of the quantities is one of
-"xx-small", "small", "medium", "large", "x-large", "xx-large", or "xxx-large";
+"x-small", "small", "medium", "large", "x-large", "xx-large", or "xxx-large";
 and the other quantity is the [[resval]] of "font-size" on a [[font]] element
 whose [[fontsize]] attribute has the corresponding value set ("1" through "7"
 respectively).
@@ -3461,7 +3461,7 @@
   We just output a font tag no matter what for size=7.
 
   <p>If <var>command</var> is "fontSize"; and <var>new value</var> is one of
-  "xx-small", "small", "medium", "large", "x-large", "xx-large", or
+  "x-small", "small", "medium", "large", "x-large", "xx-large", or
   "xxx-large"; and either the <span>CSS styling flag</span> is false, or
   <var>new value</var> is "xxx-large": let <var>new parent</var> be the result
   of calling <code data-anolis-spec=domcore
@@ -3471,7 +3471,7 @@
   <var>new value</var>:
 
   <ul>
-    <li>xx-small: 1
+    <li>x-small: 1
     <li>small: 2
     <li>normal: 3
     <li>large: 4
@@ -4085,6 +4085,9 @@
 returned by {{code|queryCommandValue()}} has to be numeric, so authors can't
 really use the command sanely no matter what we do.  See <a
 href=http://www.w3.org/Bugs/Public/show_bug.cgi?id=14251>bug 14251</a>.
+
+<p>Note that 1 is the same size as x-small in browsers, not xx-small, contrary
+to the CSS Fonts spec.
 </div>
 
 <p><span>Action</span>:
@@ -4131,7 +4134,7 @@
   not legacy sizes.
 
   <ul>
-    <li>1: xx-small
+    <li>1: x-small
     <li>2: small
     <li>3: medium
     <li>4: large