[html5] r6600 - [giow] (0) Legacy IDL attribute compatibility WebIDL fix. Fixing http://www.w3.o [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 29 15:30:29 PDT 2011


Author: ianh
Date: 2011-09-29 15:30:27 -0700 (Thu, 29 Sep 2011)
New Revision: 6600

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Legacy IDL attribute compatibility WebIDL fix.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13034

Modified: complete.html
===================================================================
--- complete.html	2011-09-29 20:59:02 UTC (rev 6599)
+++ complete.html	2011-09-29 22:30:27 UTC (rev 6600)
@@ -96093,16 +96093,17 @@
   <code><a href=#htmlframeelement>HTMLFrameElement</a></code> interface.</p>
 
   <pre class=idl>interface <dfn id=htmlframeelement>HTMLFrameElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
+           attribute DOMString <a href=#dom-frame-name title=dom-frame-name>name</a>;
+           attribute DOMString <a href=#dom-frame-scrolling title=dom-frame-scrolling>scrolling</a>;
+           attribute DOMString <a href=#dom-frame-src title=dom-frame-src>src</a>;
            attribute DOMString <a href=#dom-frame-frameborder title=dom-frame-frameBorder>frameBorder</a>;
            attribute DOMString <a href=#dom-frame-longdesc title=dom-frame-longDesc>longDesc</a>;
-           attribute DOMString <a href=#dom-frame-marginheight title=dom-frame-marginHeight>marginHeight</a>;
-           attribute DOMString <a href=#dom-frame-marginwidth title=dom-frame-marginWidth>marginWidth</a>;
-           attribute DOMString <a href=#dom-frame-name title=dom-frame-name>name</a>;
            attribute boolean <a href=#dom-frame-noresize title=dom-frame-noResize>noResize</a>;
-           attribute DOMString <a href=#dom-frame-scrolling title=dom-frame-scrolling>scrolling</a>;
-           attribute DOMString <a href=#dom-frame-src title=dom-frame-src>src</a>;
   readonly attribute Document? <a href=#dom-frame-contentdocument title=dom-frame-contentDocument>contentDocument</a>;
   readonly attribute <a href=#windowproxy>WindowProxy</a>? <a href=#dom-frame-contentwindow title=dom-frame-contentWindow>contentWindow</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-frame-marginheight title=dom-frame-marginHeight>marginHeight</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-frame-marginwidth title=dom-frame-marginWidth>marginWidth</a>;
 };</pre>
 
   <p>The <dfn id=dom-frame-name title=dom-frame-name><code>name</code></dfn>, <dfn id=dom-frame-scrolling title=dom-frame-scrolling><code>scrolling</code></dfn>, and <dfn id=dom-frame-src title=dom-frame-src><code>src</code></dfn> IDL attributes of the
@@ -96120,16 +96121,6 @@
   for the purposes of reflection is defined as containing a
   <a href=#url>URL</a>.</p>
 
-  <p>The <dfn id=dom-frame-marginheight title=dom-frame-marginHeight><code>marginHeight</code></dfn> IDL
-  attribute of the <code><a href=#frame>frame</a></code> element must
-  <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginheight>marginheight</code> content
-  attribute.</p>
-
-  <p>The <dfn id=dom-frame-marginwidth title=dom-frame-marginWidth><code>marginWidth</code></dfn> IDL
-  attribute of the <code><a href=#frame>frame</a></code> element must
-  <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginwidth>marginwidth</code> content
-  attribute.</p>
-
   <p>The <dfn id=dom-frame-noresize title=dom-frame-noResize><code>noResize</code></dfn>
   IDL attribute of the <code><a href=#frame>frame</a></code> element must
   <a href=#reflect>reflect</a> the element's <code title=attr-frame-noresize>noresize</code> content attribute.</p>
@@ -96145,8 +96136,18 @@
   <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested browsing
   context</a>.</p>
 
+  <p>The <dfn id=dom-frame-marginheight title=dom-frame-marginHeight><code>marginHeight</code></dfn> IDL
+  attribute of the <code><a href=#frame>frame</a></code> element must
+  <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginheight>marginheight</code> content
+  attribute.</p>
 
+  <p>The <dfn id=dom-frame-marginwidth title=dom-frame-marginWidth><code>marginWidth</code></dfn> IDL
+  attribute of the <code><a href=#frame>frame</a></code> element must
+  <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginwidth>marginwidth</code> content
+  attribute.</p>
 
+
+
   <h4 id=other-elements,-attributes-and-apis><span class=secno>16.3.4 </span>Other elements, attributes and APIs</h4> <!-- alphabetical by name and attribute -->
 
   <p>User agents must treat <code><a href=#acronym>acronym</a></code> elements in a manner
@@ -96189,12 +96190,12 @@
   respective content attributes of the same name.</p>
 
   <hr><pre class=idl>partial interface <a href=#htmlbodyelement>HTMLBodyElement</a> {
-           attribute DOMString <a href=#dom-body-text title=dom-body-text>text</a>;
-           attribute DOMString <a href=#dom-body-bgcolor title=dom-body-bgColor>bgColor</a>;
-           attribute DOMString <a href=#dom-body-background title=dom-body-background>background</a>;
-           attribute DOMString <a href=#dom-body-link title=dom-body-link>link</a>;
-           attribute DOMString <a href=#dom-body-vlink title=dom-body-vLink>vLink</a>;
-           attribute DOMString <a href=#dom-body-alink title=dom-body-aLink>aLink</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-text title=dom-body-text>text</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-link title=dom-body-link>link</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-vlink title=dom-body-vLink>vLink</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-alink title=dom-body-aLink>aLink</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-bgcolor title=dom-body-bgColor>bgColor</a>;
+                            attribute DOMString <a href=#dom-body-background title=dom-body-background>background</a>;
 };</pre>
 
   <p>The <dfn id=dom-body-text title=dom-body-text><code>text</code></dfn> IDL
@@ -96202,18 +96203,6 @@
   the element's <code title=attr-body-text><a href=#attr-body-text>text</a></code> content
   attribute.</p>
 
-  <p>The <dfn id=dom-body-bgcolor title=dom-body-bgColor><code>bgColor</code></dfn> IDL
-  attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
-  the element's <code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code> content
-  attribute.</p>
-
-  <p>The <dfn id=dom-body-background title=dom-body-background><code>background</code></dfn> IDL
-  attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
-  the element's <code title=attr-background><a href=#attr-background>background</a></code>
-  content attribute. (The <code title=attr-background><a href=#attr-background>background</a></code> content is <em>not</em>
-  defined to contain a <a href=#url>URL</a>, despite rules regarding its
-  handling in the rendering section above.)</p>
-
   <p>The <dfn id=dom-body-link title=dom-body-link><code>link</code></dfn> IDL
   attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
   the element's <code title=attr-body-link><a href=#attr-body-link>link</a></code> content
@@ -96229,6 +96218,18 @@
   the element's <code title=attr-body-vlink><a href=#attr-body-vlink>vlink</a></code> content
   attribute.</p>
 
+  <p>The <dfn id=dom-body-bgcolor title=dom-body-bgColor><code>bgColor</code></dfn> IDL
+  attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
+  the element's <code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code> content
+  attribute.</p>
+
+  <p>The <dfn id=dom-body-background title=dom-body-background><code>background</code></dfn> IDL
+  attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
+  the element's <code title=attr-background><a href=#attr-background>background</a></code>
+  content attribute. (The <code title=attr-background><a href=#attr-background>background</a></code> content is <em>not</em>
+  defined to contain a <a href=#url>URL</a>, despite rules regarding its
+  handling in the rendering section above.)</p>
+
   <hr><pre class=idl>partial interface <a href=#htmlbrelement>HTMLBRElement</a> {
            attribute DOMString <a href=#dom-br-clear title=dom-br-clear>clear</a>;
 };</pre>
@@ -96316,9 +96317,9 @@
   <code><a href=#htmlfontelement>HTMLFontElement</a></code> interface.</p>
 
   <pre class=idl>interface <dfn id=htmlfontelement>HTMLFontElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
-           attribute DOMString <a href=#dom-font-color title=dom-font-color>color</a>;
-           attribute DOMString <a href=#dom-font-face title=dom-font-face>face</a>;
-           attribute DOMString <a href=#dom-font-size title=dom-font-size>size</a>; <!-- yes, DOMString, not long (so says DOM2 HTML) -->
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-font-color title=dom-font-color>color</a>;
+                            attribute DOMString <a href=#dom-font-face title=dom-font-face>face</a>;
+                            attribute DOMString <a href=#dom-font-size title=dom-font-size>size</a>; <!-- yes, DOMString, not long (so says DOM2 HTML) -->
 };</pre>
 
   <p>The <dfn id=dom-font-color title=dom-font-color><code>color</code></dfn>,
@@ -96368,11 +96369,12 @@
 
   <hr><pre class=idl>partial interface <a href=#htmliframeelement>HTMLIFrameElement</a> {
            attribute DOMString <a href=#dom-iframe-align title=dom-iframe-align>align</a>;
+           attribute DOMString <a href=#dom-iframe-scrolling title=dom-iframe-scrolling>scrolling</a>;
            attribute DOMString <a href=#dom-iframe-frameborder title=dom-iframe-frameBorder>frameBorder</a>;
            attribute DOMString <a href=#dom-iframe-longdesc title=dom-iframe-longDesc>longDesc</a>;
-           attribute DOMString <a href=#dom-iframe-marginheight title=dom-iframe-marginHeight>marginHeight</a>;
-           attribute DOMString <a href=#dom-iframe-marginwidth title=dom-iframe-marginWidth>marginWidth</a>;
-           attribute DOMString <a href=#dom-iframe-scrolling title=dom-iframe-scrolling>scrolling</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-iframe-marginheight title=dom-iframe-marginHeight>marginHeight</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-iframe-marginwidth title=dom-iframe-marginWidth>marginWidth</a>;
 };</pre>
 
   <p>The <dfn id=dom-iframe-align title=dom-iframe-align><code>align</code></dfn> and
@@ -96405,10 +96407,11 @@
   <hr><pre class=idl>partial interface <a href=#htmlimageelement>HTMLImageElement</a> {
            attribute DOMString <a href=#dom-img-name title=dom-img-name>name</a>;
            attribute DOMString <a href=#dom-img-align title=dom-img-align>align</a>;
-           attribute DOMString <a href=#dom-img-border title=dom-img-border>border</a>;
            attribute unsigned long <a href=#dom-img-hspace title=dom-img-hspace>hspace</a>;
+           attribute unsigned long <a href=#dom-img-vspace title=dom-img-vspace>vspace</a>;
            attribute DOMString <a href=#dom-img-longdesc title=dom-img-longDesc>longDesc</a>;
-           attribute unsigned long <a href=#dom-img-vspace title=dom-img-vspace>vspace</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-img-border title=dom-img-border>border</a>;
 };</pre>
 
   <p>The <dfn id=dom-img-name title=dom-img-name><code>name</code></dfn>, <dfn id=dom-img-align title=dom-img-align><code>align</code></dfn>, <dfn id=dom-img-border title=dom-img-border><code>border</code></dfn>, <dfn id=dom-img-hspace title=dom-img-hspace><code>hspace</code></dfn>, and <dfn id=dom-img-vspace title=dom-img-vspace><code>vspace</code></dfn> IDL attributes of
@@ -96520,14 +96523,15 @@
   <hr><pre class=idl>partial interface <a href=#htmlobjectelement>HTMLObjectElement</a> {
            attribute DOMString <a href=#dom-object-align title=dom-object-align>align</a>;
            attribute DOMString <a href=#dom-object-archive title=dom-object-archive>archive</a>;
-           attribute DOMString <a href=#dom-object-border title=dom-object-border>border</a>;
            attribute DOMString <a href=#dom-object-code title=dom-object-code>code</a>;
-           attribute DOMString <a href=#dom-object-codebase title=dom-object-codeBase>codeBase</a>;
-           attribute DOMString <a href=#dom-object-codetype title=dom-object-codeType>codeType</a>;
            attribute boolean <a href=#dom-object-declare title=dom-object-declare>declare</a>;
            attribute unsigned long <a href=#dom-object-hspace title=dom-object-hspace>hspace</a>;
            attribute DOMString <a href=#dom-object-standby title=dom-object-standby>standby</a>;
            attribute unsigned long <a href=#dom-object-vspace title=dom-object-vspace>vspace</a>;
+           attribute DOMString <a href=#dom-object-codebase title=dom-object-codeBase>codeBase</a>;
+           attribute DOMString <a href=#dom-object-codetype title=dom-object-codeType>codeType</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-object-border title=dom-object-border>border</a>;
 };</pre>
 
   <p>The <dfn id=dom-object-align title=dom-object-align><code>align</code></dfn>, <dfn id=dom-object-archive title=dom-object-archive><code>archive</code></dfn>, <dfn id=dom-object-border title=dom-object-border><code>border</code></dfn>, <dfn id=dom-object-code title=dom-object-code><code>code</code></dfn>, <dfn id=dom-object-declare title=dom-object-declare><code>declare</code></dfn>, <dfn id=dom-object-hspace title=dom-object-hspace><code>hspace</code></dfn>, <dfn id=dom-object-standby title=dom-object-standby><code>standby</code></dfn>, and <dfn id=dom-object-vspace title=dom-object-vspace><code>vspace</code></dfn> IDL attributes
@@ -96599,13 +96603,14 @@
 
   <hr><pre class=idl>partial interface <a href=#htmltableelement>HTMLTableElement</a> {
            attribute DOMString <a href=#dom-table-align title=dom-table-align>align</a>;
-           attribute DOMString <a href=#dom-table-bgcolor title=dom-table-bgColor>bgColor</a>;
-           attribute DOMString <a href=#dom-table-cellpadding title=dom-table-cellPadding>cellPadding</a>;
-           attribute DOMString <a href=#dom-table-cellspacing title=dom-table-cellSpacing>cellSpacing</a>;
            attribute DOMString <a href=#dom-table-frame title=dom-table-frame>frame</a>;
            attribute DOMString <a href=#dom-table-rules title=dom-table-rules>rules</a>;
            attribute DOMString <a href=#dom-table-summary title=dom-table-summary>summary</a>;
            attribute DOMString <a href=#dom-table-width title=dom-table-width>width</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-table-bgcolor title=dom-table-bgColor>bgColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-table-cellpadding title=dom-table-cellPadding>cellPadding</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-table-cellspacing title=dom-table-cellSpacing>cellSpacing</a>;
 };</pre>
 
   <p>The <dfn id=dom-table-align title=dom-table-align><code>align</code></dfn>, <dfn id=dom-table-frame title=dom-table-frame><code>frame</code></dfn>, <dfn id=dom-table-summary title=dom-table-summary><code>summary</code></dfn>, <dfn id=dom-table-rules title=dom-table-rules><code>rules</code></dfn>, and <dfn id=dom-table-width title=dom-table-width><code>width</code></dfn>, IDL attributes of
@@ -96659,13 +96664,15 @@
            attribute DOMString <a href=#dom-tdth-abbr title=dom-tdth-abbr>abbr</a>;
            attribute DOMString <a href=#dom-tdth-align title=dom-tdth-align>align</a>;
            attribute DOMString <a href=#dom-tdth-axis title=dom-tdth-axis>axis</a>;
-           attribute DOMString <a href=#dom-tdth-bgcolor title=dom-tdth-bgColor>bgColor</a>;
+           attribute DOMString <a href=#dom-tdth-height title=dom-tdth-height>height</a>;
+           attribute DOMString <a href=#dom-tdth-width title=dom-tdth-width>width</a>;
+
            attribute DOMString <a href=#dom-tdth-ch title=dom-tdth-ch>ch</a>;
            attribute DOMString <a href=#dom-tdth-choff title=dom-tdth-chOff>chOff</a>;
-           attribute DOMString <a href=#dom-tdth-height title=dom-tdth-height>height</a>;
            attribute boolean <a href=#dom-tdth-nowrap title=dom-tdth-noWrap>noWrap</a>;
            attribute DOMString <a href=#dom-tdth-valign title=dom-tdth-vAlign>vAlign</a>;
-           attribute DOMString <a href=#dom-tdth-width title=dom-tdth-width>width</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-tdth-bgcolor title=dom-tdth-bgColor>bgColor</a>;
 };</pre>
 
   <p>The <dfn id=dom-tdth-abbr title=dom-tdth-abbr><code>abbr</code></dfn>, <dfn id=dom-tdth-align title=dom-tdth-align><code>align</code></dfn>, <dfn id=dom-tdth-axis title=dom-tdth-axis><code>axis</code></dfn>, <dfn id=dom-tdth-height title=dom-tdth-height><code>height</code></dfn>, and <dfn id=dom-tdth-width title=dom-tdth-width><code>width</code></dfn> IDL attributes of
@@ -96673,10 +96680,6 @@
   <a href=#reflect>reflect</a> the respective content attributes of the same
   name.</p>
 
-  <p>The <dfn id=dom-tdth-bgcolor title=dom-tdth-bgColor><code>bgColor</code></dfn> IDL
-  attribute of the <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> elements must
-  <a href=#reflect>reflect</a> the elements' <code title=attr-tdth-bgcolor><a href=#attr-tdth-bgcolor>bgcolor</a></code> content attributes.</p>
-
   <p>The <dfn id=dom-tdth-ch title=dom-tdth-ch><code>ch</code></dfn> IDL
   attribute of the <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> elements must
   <a href=#reflect>reflect</a> the elements' <code title=attr-tdth-char><a href=#attr-tdth-char>char</a></code> content attributes.</p>
@@ -96693,23 +96696,23 @@
   attribute of the <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> element must
   <a href=#reflect>reflect</a> the elements' <code title=attr-tdth-valign><a href=#attr-tdth-valign>valign</a></code> content attributes.</p>
 
+  <p>The <dfn id=dom-tdth-bgcolor title=dom-tdth-bgColor><code>bgColor</code></dfn> IDL
+  attribute of the <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> elements must
+  <a href=#reflect>reflect</a> the elements' <code title=attr-tdth-bgcolor><a href=#attr-tdth-bgcolor>bgcolor</a></code> content attributes.</p>
+
   <hr><pre class=idl>partial interface <a href=#htmltablerowelement>HTMLTableRowElement</a> {
            attribute DOMString <a href=#dom-tr-align title=dom-tr-align>align</a>;
-           attribute DOMString <a href=#dom-tr-bgcolor title=dom-tr-bgColor>bgColor</a>;
            attribute DOMString <a href=#dom-tr-ch title=dom-tr-ch>ch</a>;
            attribute DOMString <a href=#dom-tr-choff title=dom-tr-chOff>chOff</a>;
            attribute DOMString <a href=#dom-tr-valign title=dom-tr-vAlign>vAlign</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-tr-bgcolor title=dom-tr-bgColor>bgColor</a>;
 };</pre>
 
   <p>The <dfn id=dom-tr-align title=dom-tr-align><code>align</code></dfn> IDL
   attribute of the <code><a href=#the-tr-element>tr</a></code> element must <a href=#reflect>reflect</a>
   the content attribute of the same name.</p>
 
-  <p>The <dfn id=dom-tr-bgcolor title=dom-tr-bgColor><code>bgColor</code></dfn> IDL
-  attribute of the <code><a href=#the-tr-element>tr</a></code> element must <a href=#reflect>reflect</a>
-  the element's <code title=attr-tr-bgcolor><a href=#attr-tr-bgcolor>bgcolor</a></code> content
-  attribute.</p>
-
   <p>The <dfn id=dom-tr-ch title=dom-tr-ch><code>ch</code></dfn> IDL attribute of
   the <code><a href=#the-tr-element>tr</a></code> element must <a href=#reflect>reflect</a> the element's
   <code title=attr-tr-char><a href=#attr-tr-char>char</a></code> content attribute.</p>
@@ -96724,6 +96727,11 @@
   the element's <code title=attr-tr-valign><a href=#attr-tr-valign>valign</a></code> content
   attribute.</p>
 
+  <p>The <dfn id=dom-tr-bgcolor title=dom-tr-bgColor><code>bgColor</code></dfn> IDL
+  attribute of the <code><a href=#the-tr-element>tr</a></code> element must <a href=#reflect>reflect</a>
+  the element's <code title=attr-tr-bgcolor><a href=#attr-tr-bgcolor>bgcolor</a></code> content
+  attribute.</p>
+
   <hr><pre class=idl>partial interface <a href=#htmlulistelement>HTMLUListElement</a> {
            attribute boolean <a href=#dom-ul-compact title=dom-ul-compact>compact</a>;
            attribute DOMString <a href=#dom-ul-type title=dom-ul-type>type</a>;
@@ -96748,11 +96756,11 @@
   defined in this spec use HTMLUnknownElement. -->
 
   <hr><pre class=idl>partial interface <a href=#htmldocument>HTMLDocument</a> {
-           attribute DOMString <a href=#dom-document-fgcolor title=dom-document-fgColor>fgColor</a>;
-           attribute DOMString <a href=#dom-document-bgcolor title=dom-document-bgColor>bgColor</a>;
-           attribute DOMString <a href=#dom-document-linkcolor title=dom-document-linkColor>linkColor</a>;
-           attribute DOMString <a href=#dom-document-vlinkcolor title=dom-document-vlinkColor>vlinkColor</a>;
-           attribute DOMString <a href=#dom-document-alinkcolor title=dom-document-alinkColor>alinkColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-fgcolor title=dom-document-fgColor>fgColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-linkcolor title=dom-document-linkColor>linkColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-vlinkcolor title=dom-document-vlinkColor>vlinkColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-alinkcolor title=dom-document-alinkColor>alinkColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-bgcolor title=dom-document-bgColor>bgColor</a>;
 
   readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-anchors title=dom-document-anchors>anchors</a>;
   readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-applets title=dom-document-applets>applets</a>;
@@ -96776,14 +96784,14 @@
      <th> Content attribute
    <tbody><tr><td><dfn id=dom-document-fgcolor title=dom-document-fgColor><code>fgColor</code></dfn>
      <td><code title=attr-body-text><a href=#attr-body-text>text</a></code>
-    <tr><td><dfn id=dom-document-bgcolor title=dom-document-bgColor><code>bgColor</code></dfn>
-     <td><code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code>
     <tr><td><dfn id=dom-document-linkcolor title=dom-document-linkColor><code>linkColor</code></dfn>
      <td><code title=attr-body-link><a href=#attr-body-link>link</a></code>
     <tr><td><dfn id=dom-document-vlinkcolor title=dom-document-vlinkColor><code>vlinkColor</code></dfn>
      <td><code title=attr-body-vlink><a href=#attr-body-vlink>vlink</a></code>
     <tr><td><dfn id=dom-document-alinkcolor title=dom-document-alinkColor><code>alinkColor</code></dfn>
      <td><code title=attr-body-alink><a href=#attr-body-alink>alink</a></code>
+    <tr><td><dfn id=dom-document-bgcolor title=dom-document-bgColor><code>bgColor</code></dfn>
+     <td><code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code>
   </table><hr><p>The <dfn id=dom-document-anchors title=dom-document-anchors><code>anchors</code></dfn>
   attribute must return an <code><a href=#htmlcollection>HTMLCollection</a></code> rooted at the
   <code><a href=#document>Document</a></code> node, whose filter matches only <code><a href=#the-a-element>a</a></code>

Modified: index
===================================================================
--- index	2011-09-29 20:59:02 UTC (rev 6599)
+++ index	2011-09-29 22:30:27 UTC (rev 6600)
@@ -91518,16 +91518,17 @@
   <code><a href=#htmlframeelement>HTMLFrameElement</a></code> interface.</p>
 
   <pre class=idl>interface <dfn id=htmlframeelement>HTMLFrameElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
+           attribute DOMString <a href=#dom-frame-name title=dom-frame-name>name</a>;
+           attribute DOMString <a href=#dom-frame-scrolling title=dom-frame-scrolling>scrolling</a>;
+           attribute DOMString <a href=#dom-frame-src title=dom-frame-src>src</a>;
            attribute DOMString <a href=#dom-frame-frameborder title=dom-frame-frameBorder>frameBorder</a>;
            attribute DOMString <a href=#dom-frame-longdesc title=dom-frame-longDesc>longDesc</a>;
-           attribute DOMString <a href=#dom-frame-marginheight title=dom-frame-marginHeight>marginHeight</a>;
-           attribute DOMString <a href=#dom-frame-marginwidth title=dom-frame-marginWidth>marginWidth</a>;
-           attribute DOMString <a href=#dom-frame-name title=dom-frame-name>name</a>;
            attribute boolean <a href=#dom-frame-noresize title=dom-frame-noResize>noResize</a>;
-           attribute DOMString <a href=#dom-frame-scrolling title=dom-frame-scrolling>scrolling</a>;
-           attribute DOMString <a href=#dom-frame-src title=dom-frame-src>src</a>;
   readonly attribute Document? <a href=#dom-frame-contentdocument title=dom-frame-contentDocument>contentDocument</a>;
   readonly attribute <a href=#windowproxy>WindowProxy</a>? <a href=#dom-frame-contentwindow title=dom-frame-contentWindow>contentWindow</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-frame-marginheight title=dom-frame-marginHeight>marginHeight</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-frame-marginwidth title=dom-frame-marginWidth>marginWidth</a>;
 };</pre>
 
   <p>The <dfn id=dom-frame-name title=dom-frame-name><code>name</code></dfn>, <dfn id=dom-frame-scrolling title=dom-frame-scrolling><code>scrolling</code></dfn>, and <dfn id=dom-frame-src title=dom-frame-src><code>src</code></dfn> IDL attributes of the
@@ -91545,16 +91546,6 @@
   for the purposes of reflection is defined as containing a
   <a href=#url>URL</a>.</p>
 
-  <p>The <dfn id=dom-frame-marginheight title=dom-frame-marginHeight><code>marginHeight</code></dfn> IDL
-  attribute of the <code><a href=#frame>frame</a></code> element must
-  <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginheight>marginheight</code> content
-  attribute.</p>
-
-  <p>The <dfn id=dom-frame-marginwidth title=dom-frame-marginWidth><code>marginWidth</code></dfn> IDL
-  attribute of the <code><a href=#frame>frame</a></code> element must
-  <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginwidth>marginwidth</code> content
-  attribute.</p>
-
   <p>The <dfn id=dom-frame-noresize title=dom-frame-noResize><code>noResize</code></dfn>
   IDL attribute of the <code><a href=#frame>frame</a></code> element must
   <a href=#reflect>reflect</a> the element's <code title=attr-frame-noresize>noresize</code> content attribute.</p>
@@ -91570,8 +91561,18 @@
   <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested browsing
   context</a>.</p>
 
+  <p>The <dfn id=dom-frame-marginheight title=dom-frame-marginHeight><code>marginHeight</code></dfn> IDL
+  attribute of the <code><a href=#frame>frame</a></code> element must
+  <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginheight>marginheight</code> content
+  attribute.</p>
 
+  <p>The <dfn id=dom-frame-marginwidth title=dom-frame-marginWidth><code>marginWidth</code></dfn> IDL
+  attribute of the <code><a href=#frame>frame</a></code> element must
+  <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginwidth>marginwidth</code> content
+  attribute.</p>
 
+
+
   <h4 id=other-elements,-attributes-and-apis><span class=secno>14.3.4 </span>Other elements, attributes and APIs</h4> <!-- alphabetical by name and attribute -->
 
   <p>User agents must treat <code><a href=#acronym>acronym</a></code> elements in a manner
@@ -91614,12 +91615,12 @@
   respective content attributes of the same name.</p>
 
   <hr><pre class=idl>partial interface <a href=#htmlbodyelement>HTMLBodyElement</a> {
-           attribute DOMString <a href=#dom-body-text title=dom-body-text>text</a>;
-           attribute DOMString <a href=#dom-body-bgcolor title=dom-body-bgColor>bgColor</a>;
-           attribute DOMString <a href=#dom-body-background title=dom-body-background>background</a>;
-           attribute DOMString <a href=#dom-body-link title=dom-body-link>link</a>;
-           attribute DOMString <a href=#dom-body-vlink title=dom-body-vLink>vLink</a>;
-           attribute DOMString <a href=#dom-body-alink title=dom-body-aLink>aLink</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-text title=dom-body-text>text</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-link title=dom-body-link>link</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-vlink title=dom-body-vLink>vLink</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-alink title=dom-body-aLink>aLink</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-body-bgcolor title=dom-body-bgColor>bgColor</a>;
+                            attribute DOMString <a href=#dom-body-background title=dom-body-background>background</a>;
 };</pre>
 
   <p>The <dfn id=dom-body-text title=dom-body-text><code>text</code></dfn> IDL
@@ -91627,18 +91628,6 @@
   the element's <code title=attr-body-text><a href=#attr-body-text>text</a></code> content
   attribute.</p>
 
-  <p>The <dfn id=dom-body-bgcolor title=dom-body-bgColor><code>bgColor</code></dfn> IDL
-  attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
-  the element's <code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code> content
-  attribute.</p>
-
-  <p>The <dfn id=dom-body-background title=dom-body-background><code>background</code></dfn> IDL
-  attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
-  the element's <code title=attr-background><a href=#attr-background>background</a></code>
-  content attribute. (The <code title=attr-background><a href=#attr-background>background</a></code> content is <em>not</em>
-  defined to contain a <a href=#url>URL</a>, despite rules regarding its
-  handling in the rendering section above.)</p>
-
   <p>The <dfn id=dom-body-link title=dom-body-link><code>link</code></dfn> IDL
   attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
   the element's <code title=attr-body-link><a href=#attr-body-link>link</a></code> content
@@ -91654,6 +91643,18 @@
   the element's <code title=attr-body-vlink><a href=#attr-body-vlink>vlink</a></code> content
   attribute.</p>
 
+  <p>The <dfn id=dom-body-bgcolor title=dom-body-bgColor><code>bgColor</code></dfn> IDL
+  attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
+  the element's <code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code> content
+  attribute.</p>
+
+  <p>The <dfn id=dom-body-background title=dom-body-background><code>background</code></dfn> IDL
+  attribute of the <code><a href=#the-body-element>body</a></code> element must <a href=#reflect>reflect</a>
+  the element's <code title=attr-background><a href=#attr-background>background</a></code>
+  content attribute. (The <code title=attr-background><a href=#attr-background>background</a></code> content is <em>not</em>
+  defined to contain a <a href=#url>URL</a>, despite rules regarding its
+  handling in the rendering section above.)</p>
+
   <hr><pre class=idl>partial interface <a href=#htmlbrelement>HTMLBRElement</a> {
            attribute DOMString <a href=#dom-br-clear title=dom-br-clear>clear</a>;
 };</pre>
@@ -91741,9 +91742,9 @@
   <code><a href=#htmlfontelement>HTMLFontElement</a></code> interface.</p>
 
   <pre class=idl>interface <dfn id=htmlfontelement>HTMLFontElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
-           attribute DOMString <a href=#dom-font-color title=dom-font-color>color</a>;
-           attribute DOMString <a href=#dom-font-face title=dom-font-face>face</a>;
-           attribute DOMString <a href=#dom-font-size title=dom-font-size>size</a>; <!-- yes, DOMString, not long (so says DOM2 HTML) -->
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-font-color title=dom-font-color>color</a>;
+                            attribute DOMString <a href=#dom-font-face title=dom-font-face>face</a>;
+                            attribute DOMString <a href=#dom-font-size title=dom-font-size>size</a>; <!-- yes, DOMString, not long (so says DOM2 HTML) -->
 };</pre>
 
   <p>The <dfn id=dom-font-color title=dom-font-color><code>color</code></dfn>,
@@ -91793,11 +91794,12 @@
 
   <hr><pre class=idl>partial interface <a href=#htmliframeelement>HTMLIFrameElement</a> {
            attribute DOMString <a href=#dom-iframe-align title=dom-iframe-align>align</a>;
+           attribute DOMString <a href=#dom-iframe-scrolling title=dom-iframe-scrolling>scrolling</a>;
            attribute DOMString <a href=#dom-iframe-frameborder title=dom-iframe-frameBorder>frameBorder</a>;
            attribute DOMString <a href=#dom-iframe-longdesc title=dom-iframe-longDesc>longDesc</a>;
-           attribute DOMString <a href=#dom-iframe-marginheight title=dom-iframe-marginHeight>marginHeight</a>;
-           attribute DOMString <a href=#dom-iframe-marginwidth title=dom-iframe-marginWidth>marginWidth</a>;
-           attribute DOMString <a href=#dom-iframe-scrolling title=dom-iframe-scrolling>scrolling</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-iframe-marginheight title=dom-iframe-marginHeight>marginHeight</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-iframe-marginwidth title=dom-iframe-marginWidth>marginWidth</a>;
 };</pre>
 
   <p>The <dfn id=dom-iframe-align title=dom-iframe-align><code>align</code></dfn> and
@@ -91830,10 +91832,11 @@
   <hr><pre class=idl>partial interface <a href=#htmlimageelement>HTMLImageElement</a> {
            attribute DOMString <a href=#dom-img-name title=dom-img-name>name</a>;
            attribute DOMString <a href=#dom-img-align title=dom-img-align>align</a>;
-           attribute DOMString <a href=#dom-img-border title=dom-img-border>border</a>;
            attribute unsigned long <a href=#dom-img-hspace title=dom-img-hspace>hspace</a>;
+           attribute unsigned long <a href=#dom-img-vspace title=dom-img-vspace>vspace</a>;
            attribute DOMString <a href=#dom-img-longdesc title=dom-img-longDesc>longDesc</a>;
-           attribute unsigned long <a href=#dom-img-vspace title=dom-img-vspace>vspace</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-img-border title=dom-img-border>border</a>;
 };</pre>
 
   <p>The <dfn id=dom-img-name title=dom-img-name><code>name</code></dfn>, <dfn id=dom-img-align title=dom-img-align><code>align</code></dfn>, <dfn id=dom-img-border title=dom-img-border><code>border</code></dfn>, <dfn id=dom-img-hspace title=dom-img-hspace><code>hspace</code></dfn>, and <dfn id=dom-img-vspace title=dom-img-vspace><code>vspace</code></dfn> IDL attributes of
@@ -91945,14 +91948,15 @@
   <hr><pre class=idl>partial interface <a href=#htmlobjectelement>HTMLObjectElement</a> {
            attribute DOMString <a href=#dom-object-align title=dom-object-align>align</a>;
            attribute DOMString <a href=#dom-object-archive title=dom-object-archive>archive</a>;
-           attribute DOMString <a href=#dom-object-border title=dom-object-border>border</a>;
            attribute DOMString <a href=#dom-object-code title=dom-object-code>code</a>;
-           attribute DOMString <a href=#dom-object-codebase title=dom-object-codeBase>codeBase</a>;
-           attribute DOMString <a href=#dom-object-codetype title=dom-object-codeType>codeType</a>;
            attribute boolean <a href=#dom-object-declare title=dom-object-declare>declare</a>;
            attribute unsigned long <a href=#dom-object-hspace title=dom-object-hspace>hspace</a>;
            attribute DOMString <a href=#dom-object-standby title=dom-object-standby>standby</a>;
            attribute unsigned long <a href=#dom-object-vspace title=dom-object-vspace>vspace</a>;
+           attribute DOMString <a href=#dom-object-codebase title=dom-object-codeBase>codeBase</a>;
+           attribute DOMString <a href=#dom-object-codetype title=dom-object-codeType>codeType</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-object-border title=dom-object-border>border</a>;
 };</pre>
 
   <p>The <dfn id=dom-object-align title=dom-object-align><code>align</code></dfn>, <dfn id=dom-object-archive title=dom-object-archive><code>archive</code></dfn>, <dfn id=dom-object-border title=dom-object-border><code>border</code></dfn>, <dfn id=dom-object-code title=dom-object-code><code>code</code></dfn>, <dfn id=dom-object-declare title=dom-object-declare><code>declare</code></dfn>, <dfn id=dom-object-hspace title=dom-object-hspace><code>hspace</code></dfn>, <dfn id=dom-object-standby title=dom-object-standby><code>standby</code></dfn>, and <dfn id=dom-object-vspace title=dom-object-vspace><code>vspace</code></dfn> IDL attributes
@@ -92024,13 +92028,14 @@
 
   <hr><pre class=idl>partial interface <a href=#htmltableelement>HTMLTableElement</a> {
            attribute DOMString <a href=#dom-table-align title=dom-table-align>align</a>;
-           attribute DOMString <a href=#dom-table-bgcolor title=dom-table-bgColor>bgColor</a>;
-           attribute DOMString <a href=#dom-table-cellpadding title=dom-table-cellPadding>cellPadding</a>;
-           attribute DOMString <a href=#dom-table-cellspacing title=dom-table-cellSpacing>cellSpacing</a>;
            attribute DOMString <a href=#dom-table-frame title=dom-table-frame>frame</a>;
            attribute DOMString <a href=#dom-table-rules title=dom-table-rules>rules</a>;
            attribute DOMString <a href=#dom-table-summary title=dom-table-summary>summary</a>;
            attribute DOMString <a href=#dom-table-width title=dom-table-width>width</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-table-bgcolor title=dom-table-bgColor>bgColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-table-cellpadding title=dom-table-cellPadding>cellPadding</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-table-cellspacing title=dom-table-cellSpacing>cellSpacing</a>;
 };</pre>
 
   <p>The <dfn id=dom-table-align title=dom-table-align><code>align</code></dfn>, <dfn id=dom-table-frame title=dom-table-frame><code>frame</code></dfn>, <dfn id=dom-table-summary title=dom-table-summary><code>summary</code></dfn>, <dfn id=dom-table-rules title=dom-table-rules><code>rules</code></dfn>, and <dfn id=dom-table-width title=dom-table-width><code>width</code></dfn>, IDL attributes of
@@ -92084,13 +92089,15 @@
            attribute DOMString <a href=#dom-tdth-abbr title=dom-tdth-abbr>abbr</a>;
            attribute DOMString <a href=#dom-tdth-align title=dom-tdth-align>align</a>;
            attribute DOMString <a href=#dom-tdth-axis title=dom-tdth-axis>axis</a>;
-           attribute DOMString <a href=#dom-tdth-bgcolor title=dom-tdth-bgColor>bgColor</a>;
+           attribute DOMString <a href=#dom-tdth-height title=dom-tdth-height>height</a>;
+           attribute DOMString <a href=#dom-tdth-width title=dom-tdth-width>width</a>;
+
            attribute DOMString <a href=#dom-tdth-ch title=dom-tdth-ch>ch</a>;
            attribute DOMString <a href=#dom-tdth-choff title=dom-tdth-chOff>chOff</a>;
-           attribute DOMString <a href=#dom-tdth-height title=dom-tdth-height>height</a>;
            attribute boolean <a href=#dom-tdth-nowrap title=dom-tdth-noWrap>noWrap</a>;
            attribute DOMString <a href=#dom-tdth-valign title=dom-tdth-vAlign>vAlign</a>;
-           attribute DOMString <a href=#dom-tdth-width title=dom-tdth-width>width</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-tdth-bgcolor title=dom-tdth-bgColor>bgColor</a>;
 };</pre>
 
   <p>The <dfn id=dom-tdth-abbr title=dom-tdth-abbr><code>abbr</code></dfn>, <dfn id=dom-tdth-align title=dom-tdth-align><code>align</code></dfn>, <dfn id=dom-tdth-axis title=dom-tdth-axis><code>axis</code></dfn>, <dfn id=dom-tdth-height title=dom-tdth-height><code>height</code></dfn>, and <dfn id=dom-tdth-width title=dom-tdth-width><code>width</code></dfn> IDL attributes of
@@ -92098,10 +92105,6 @@
   <a href=#reflect>reflect</a> the respective content attributes of the same
   name.</p>
 
-  <p>The <dfn id=dom-tdth-bgcolor title=dom-tdth-bgColor><code>bgColor</code></dfn> IDL
-  attribute of the <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> elements must
-  <a href=#reflect>reflect</a> the elements' <code title=attr-tdth-bgcolor><a href=#attr-tdth-bgcolor>bgcolor</a></code> content attributes.</p>
-
   <p>The <dfn id=dom-tdth-ch title=dom-tdth-ch><code>ch</code></dfn> IDL
   attribute of the <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> elements must
   <a href=#reflect>reflect</a> the elements' <code title=attr-tdth-char><a href=#attr-tdth-char>char</a></code> content attributes.</p>
@@ -92118,23 +92121,23 @@
   attribute of the <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> element must
   <a href=#reflect>reflect</a> the elements' <code title=attr-tdth-valign><a href=#attr-tdth-valign>valign</a></code> content attributes.</p>
 
+  <p>The <dfn id=dom-tdth-bgcolor title=dom-tdth-bgColor><code>bgColor</code></dfn> IDL
+  attribute of the <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> elements must
+  <a href=#reflect>reflect</a> the elements' <code title=attr-tdth-bgcolor><a href=#attr-tdth-bgcolor>bgcolor</a></code> content attributes.</p>
+
   <hr><pre class=idl>partial interface <a href=#htmltablerowelement>HTMLTableRowElement</a> {
            attribute DOMString <a href=#dom-tr-align title=dom-tr-align>align</a>;
-           attribute DOMString <a href=#dom-tr-bgcolor title=dom-tr-bgColor>bgColor</a>;
            attribute DOMString <a href=#dom-tr-ch title=dom-tr-ch>ch</a>;
            attribute DOMString <a href=#dom-tr-choff title=dom-tr-chOff>chOff</a>;
            attribute DOMString <a href=#dom-tr-valign title=dom-tr-vAlign>vAlign</a>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-tr-bgcolor title=dom-tr-bgColor>bgColor</a>;
 };</pre>
 
   <p>The <dfn id=dom-tr-align title=dom-tr-align><code>align</code></dfn> IDL
   attribute of the <code><a href=#the-tr-element>tr</a></code> element must <a href=#reflect>reflect</a>
   the content attribute of the same name.</p>
 
-  <p>The <dfn id=dom-tr-bgcolor title=dom-tr-bgColor><code>bgColor</code></dfn> IDL
-  attribute of the <code><a href=#the-tr-element>tr</a></code> element must <a href=#reflect>reflect</a>
-  the element's <code title=attr-tr-bgcolor><a href=#attr-tr-bgcolor>bgcolor</a></code> content
-  attribute.</p>
-
   <p>The <dfn id=dom-tr-ch title=dom-tr-ch><code>ch</code></dfn> IDL attribute of
   the <code><a href=#the-tr-element>tr</a></code> element must <a href=#reflect>reflect</a> the element's
   <code title=attr-tr-char><a href=#attr-tr-char>char</a></code> content attribute.</p>
@@ -92149,6 +92152,11 @@
   the element's <code title=attr-tr-valign><a href=#attr-tr-valign>valign</a></code> content
   attribute.</p>
 
+  <p>The <dfn id=dom-tr-bgcolor title=dom-tr-bgColor><code>bgColor</code></dfn> IDL
+  attribute of the <code><a href=#the-tr-element>tr</a></code> element must <a href=#reflect>reflect</a>
+  the element's <code title=attr-tr-bgcolor><a href=#attr-tr-bgcolor>bgcolor</a></code> content
+  attribute.</p>
+
   <hr><pre class=idl>partial interface <a href=#htmlulistelement>HTMLUListElement</a> {
            attribute boolean <a href=#dom-ul-compact title=dom-ul-compact>compact</a>;
            attribute DOMString <a href=#dom-ul-type title=dom-ul-type>type</a>;
@@ -92173,11 +92181,11 @@
   defined in this spec use HTMLUnknownElement. -->
 
   <hr><pre class=idl>partial interface <a href=#htmldocument>HTMLDocument</a> {
-           attribute DOMString <a href=#dom-document-fgcolor title=dom-document-fgColor>fgColor</a>;
-           attribute DOMString <a href=#dom-document-bgcolor title=dom-document-bgColor>bgColor</a>;
-           attribute DOMString <a href=#dom-document-linkcolor title=dom-document-linkColor>linkColor</a>;
-           attribute DOMString <a href=#dom-document-vlinkcolor title=dom-document-vlinkColor>vlinkColor</a>;
-           attribute DOMString <a href=#dom-document-alinkcolor title=dom-document-alinkColor>alinkColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-fgcolor title=dom-document-fgColor>fgColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-linkcolor title=dom-document-linkColor>linkColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-vlinkcolor title=dom-document-vlinkColor>vlinkColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-alinkcolor title=dom-document-alinkColor>alinkColor</a>;
+  [TreatNullAs=EmptyString] attribute DOMString <a href=#dom-document-bgcolor title=dom-document-bgColor>bgColor</a>;
 
   readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-anchors title=dom-document-anchors>anchors</a>;
   readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-applets title=dom-document-applets>applets</a>;
@@ -92201,14 +92209,14 @@
      <th> Content attribute
    <tbody><tr><td><dfn id=dom-document-fgcolor title=dom-document-fgColor><code>fgColor</code></dfn>
      <td><code title=attr-body-text><a href=#attr-body-text>text</a></code>
-    <tr><td><dfn id=dom-document-bgcolor title=dom-document-bgColor><code>bgColor</code></dfn>
-     <td><code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code>
     <tr><td><dfn id=dom-document-linkcolor title=dom-document-linkColor><code>linkColor</code></dfn>
      <td><code title=attr-body-link><a href=#attr-body-link>link</a></code>
     <tr><td><dfn id=dom-document-vlinkcolor title=dom-document-vlinkColor><code>vlinkColor</code></dfn>
      <td><code title=attr-body-vlink><a href=#attr-body-vlink>vlink</a></code>
     <tr><td><dfn id=dom-document-alinkcolor title=dom-document-alinkColor><code>alinkColor</code></dfn>
      <td><code title=attr-body-alink><a href=#attr-body-alink>alink</a></code>
+    <tr><td><dfn id=dom-document-bgcolor title=dom-document-bgColor><code>bgColor</code></dfn>
+     <td><code title=attr-body-bgcolor><a href=#attr-body-bgcolor>bgcolor</a></code>
   </table><hr><p>The <dfn id=dom-document-anchors title=dom-document-anchors><code>anchors</code></dfn>
   attribute must return an <code><a href=#htmlcollection>HTMLCollection</a></code> rooted at the
   <code><a href=#document>Document</a></code> node, whose filter matches only <code><a href=#the-a-element>a</a></code>

Modified: source
===================================================================
--- source	2011-09-29 20:59:02 UTC (rev 6599)
+++ source	2011-09-29 22:30:27 UTC (rev 6600)
@@ -108969,16 +108969,17 @@
   <code>HTMLFrameElement</code> interface.</p>
 
   <pre class="idl">interface <dfn>HTMLFrameElement</dfn> : <span>HTMLElement</span> {
+           attribute DOMString <span title="dom-frame-name">name</span>;
+           attribute DOMString <span title="dom-frame-scrolling">scrolling</span>;
+           attribute DOMString <span title="dom-frame-src">src</span>;
            attribute DOMString <span title="dom-frame-frameBorder">frameBorder</span>;
            attribute DOMString <span title="dom-frame-longDesc">longDesc</span>;
-           attribute DOMString <span title="dom-frame-marginHeight">marginHeight</span>;
-           attribute DOMString <span title="dom-frame-marginWidth">marginWidth</span>;
-           attribute DOMString <span title="dom-frame-name">name</span>;
            attribute boolean <span title="dom-frame-noResize">noResize</span>;
-           attribute DOMString <span title="dom-frame-scrolling">scrolling</span>;
-           attribute DOMString <span title="dom-frame-src">src</span>;
   readonly attribute Document? <span title="dom-frame-contentDocument">contentDocument</span>;
   readonly attribute <span>WindowProxy</span>? <span title="dom-frame-contentWindow">contentWindow</span>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-frame-marginHeight">marginHeight</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-frame-marginWidth">marginWidth</span>;
 };</pre>
 
   <p>The <dfn title="dom-frame-name"><code>name</code></dfn>, <dfn
@@ -109001,20 +109002,6 @@
   for the purposes of reflection is defined as containing a
   <span>URL</span>.</p>
 
-  <p>The <dfn
-  title="dom-frame-marginHeight"><code>marginHeight</code></dfn> IDL
-  attribute of the <code>frame</code> element must
-  <span>reflect</span> the element's <code
-  title="attr-frame-marginheight">marginheight</code> content
-  attribute.</p>
-
-  <p>The <dfn
-  title="dom-frame-marginWidth"><code>marginWidth</code></dfn> IDL
-  attribute of the <code>frame</code> element must
-  <span>reflect</span> the element's <code
-  title="attr-frame-marginwidth">marginwidth</code> content
-  attribute.</p>
-
   <p>The <dfn title="dom-frame-noResize"><code>noResize</code></dfn>
   IDL attribute of the <code>frame</code> element must
   <span>reflect</span> the element's <code
@@ -109033,8 +109020,22 @@
   <code>frame</code> element's <span>nested browsing
   context</span>.</p>
 
+  <p>The <dfn
+  title="dom-frame-marginHeight"><code>marginHeight</code></dfn> IDL
+  attribute of the <code>frame</code> element must
+  <span>reflect</span> the element's <code
+  title="attr-frame-marginheight">marginheight</code> content
+  attribute.</p>
 
+  <p>The <dfn
+  title="dom-frame-marginWidth"><code>marginWidth</code></dfn> IDL
+  attribute of the <code>frame</code> element must
+  <span>reflect</span> the element's <code
+  title="attr-frame-marginwidth">marginwidth</code> content
+  attribute.</p>
 
+
+
   <h4>Other elements, attributes and APIs</h4> <!-- alphabetical by name and attribute -->
 
   <p>User agents must treat <code>acronym</code> elements in a manner
@@ -109090,12 +109091,12 @@
   <hr>
 
   <pre class="idl">partial interface <span>HTMLBodyElement</span> {
-           attribute DOMString <span title="dom-body-text">text</span>;
-           attribute DOMString <span title="dom-body-bgColor">bgColor</span>;
-           attribute DOMString <span title="dom-body-background">background</span>;
-           attribute DOMString <span title="dom-body-link">link</span>;
-           attribute DOMString <span title="dom-body-vLink">vLink</span>;
-           attribute DOMString <span title="dom-body-aLink">aLink</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-body-text">text</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-body-link">link</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-body-vLink">vLink</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-body-aLink">aLink</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-body-bgColor">bgColor</span>;
+                            attribute DOMString <span title="dom-body-background">background</span>;
 };</pre>
 
   <p>The <dfn title="dom-body-text"><code>text</code></dfn> IDL
@@ -109103,20 +109104,6 @@
   the element's <code title="attr-body-text">text</code> content
   attribute.</p>
 
-  <p>The <dfn title="dom-body-bgColor"><code>bgColor</code></dfn> IDL
-  attribute of the <code>body</code> element must <span>reflect</span>
-  the element's <code title="attr-body-bgcolor">bgcolor</code> content
-  attribute.</p>
-
-  <p>The <dfn
-  title="dom-body-background"><code>background</code></dfn> IDL
-  attribute of the <code>body</code> element must <span>reflect</span>
-  the element's <code title="attr-background">background</code>
-  content attribute. (The <code
-  title="attr-background">background</code> content is <em>not</em>
-  defined to contain a <span>URL</span>, despite rules regarding its
-  handling in the rendering section above.)</p>
-
   <p>The <dfn title="dom-body-link"><code>link</code></dfn> IDL
   attribute of the <code>body</code> element must <span>reflect</span>
   the element's <code title="attr-body-link">link</code> content
@@ -109132,6 +109119,20 @@
   the element's <code title="attr-body-vlink">vlink</code> content
   attribute.</p>
 
+  <p>The <dfn title="dom-body-bgColor"><code>bgColor</code></dfn> IDL
+  attribute of the <code>body</code> element must <span>reflect</span>
+  the element's <code title="attr-body-bgcolor">bgcolor</code> content
+  attribute.</p>
+
+  <p>The <dfn
+  title="dom-body-background"><code>background</code></dfn> IDL
+  attribute of the <code>body</code> element must <span>reflect</span>
+  the element's <code title="attr-background">background</code>
+  content attribute. (The <code
+  title="attr-background">background</code> content is <em>not</em>
+  defined to contain a <span>URL</span>, despite rules regarding its
+  handling in the rendering section above.)</p>
+
   <hr>
 
   <pre class="idl">partial interface <span>HTMLBRElement</span> {
@@ -109237,9 +109238,9 @@
   <code>HTMLFontElement</code> interface.</p>
 
   <pre class="idl">interface <dfn>HTMLFontElement</dfn> : <span>HTMLElement</span> {
-           attribute DOMString <span title="dom-font-color">color</span>;
-           attribute DOMString <span title="dom-font-face">face</span>;
-           attribute DOMString <span title="dom-font-size">size</span>; <!-- yes, DOMString, not long (so says DOM2 HTML) -->
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-font-color">color</span>;
+                            attribute DOMString <span title="dom-font-face">face</span>;
+                            attribute DOMString <span title="dom-font-size">size</span>; <!-- yes, DOMString, not long (so says DOM2 HTML) -->
 };</pre>
 
   <p>The <dfn title="dom-font-color"><code>color</code></dfn>,
@@ -109305,11 +109306,12 @@
 
   <pre class="idl">partial interface <span>HTMLIFrameElement</span> {
            attribute DOMString <span title="dom-iframe-align">align</span>;
+           attribute DOMString <span title="dom-iframe-scrolling">scrolling</span>;
            attribute DOMString <span title="dom-iframe-frameBorder">frameBorder</span>;
            attribute DOMString <span title="dom-iframe-longDesc">longDesc</span>;
-           attribute DOMString <span title="dom-iframe-marginHeight">marginHeight</span>;
-           attribute DOMString <span title="dom-iframe-marginWidth">marginWidth</span>;
-           attribute DOMString <span title="dom-iframe-scrolling">scrolling</span>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-iframe-marginHeight">marginHeight</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-iframe-marginWidth">marginWidth</span>;
 };</pre>
 
   <p>The <dfn title="dom-iframe-align"><code>align</code></dfn> and
@@ -109351,10 +109353,11 @@
   <pre class="idl">partial interface <span>HTMLImageElement</span> {
            attribute DOMString <span title="dom-img-name">name</span>;
            attribute DOMString <span title="dom-img-align">align</span>;
-           attribute DOMString <span title="dom-img-border">border</span>;
            attribute unsigned long <span title="dom-img-hspace">hspace</span>;
+           attribute unsigned long <span title="dom-img-vspace">vspace</span>;
            attribute DOMString <span title="dom-img-longDesc">longDesc</span>;
-           attribute unsigned long <span title="dom-img-vspace">vspace</span>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-img-border">border</span>;
 };</pre>
 
   <p>The <dfn title="dom-img-name"><code>name</code></dfn>, <dfn
@@ -109497,14 +109500,15 @@
   <pre class="idl">partial interface <span>HTMLObjectElement</span> {
            attribute DOMString <span title="dom-object-align">align</span>;
            attribute DOMString <span title="dom-object-archive">archive</span>;
-           attribute DOMString <span title="dom-object-border">border</span>;
            attribute DOMString <span title="dom-object-code">code</span>;
-           attribute DOMString <span title="dom-object-codeBase">codeBase</span>;
-           attribute DOMString <span title="dom-object-codeType">codeType</span>;
            attribute boolean <span title="dom-object-declare">declare</span>;
            attribute unsigned long <span title="dom-object-hspace">hspace</span>;
            attribute DOMString <span title="dom-object-standby">standby</span>;
            attribute unsigned long <span title="dom-object-vspace">vspace</span>;
+           attribute DOMString <span title="dom-object-codeBase">codeBase</span>;
+           attribute DOMString <span title="dom-object-codeType">codeType</span>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-object-border">border</span>;
 };</pre>
 
   <p>The <dfn title="dom-object-align"><code>align</code></dfn>, <dfn
@@ -109599,13 +109603,14 @@
 
   <pre class="idl">partial interface <span>HTMLTableElement</span> {
            attribute DOMString <span title="dom-table-align">align</span>;
-           attribute DOMString <span title="dom-table-bgColor">bgColor</span>;
-           attribute DOMString <span title="dom-table-cellPadding">cellPadding</span>;
-           attribute DOMString <span title="dom-table-cellSpacing">cellSpacing</span>;
            attribute DOMString <span title="dom-table-frame">frame</span>;
            attribute DOMString <span title="dom-table-rules">rules</span>;
            attribute DOMString <span title="dom-table-summary">summary</span>;
            attribute DOMString <span title="dom-table-width">width</span>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-table-bgColor">bgColor</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-table-cellPadding">cellPadding</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-table-cellSpacing">cellSpacing</span>;
 };</pre>
 
   <p>The <dfn title="dom-table-align"><code>align</code></dfn>, <dfn
@@ -109667,13 +109672,15 @@
            attribute DOMString <span title="dom-tdth-abbr">abbr</span>;
            attribute DOMString <span title="dom-tdth-align">align</span>;
            attribute DOMString <span title="dom-tdth-axis">axis</span>;
-           attribute DOMString <span title="dom-tdth-bgColor">bgColor</span>;
+           attribute DOMString <span title="dom-tdth-height">height</span>;
+           attribute DOMString <span title="dom-tdth-width">width</span>;
+
            attribute DOMString <span title="dom-tdth-ch">ch</span>;
            attribute DOMString <span title="dom-tdth-chOff">chOff</span>;
-           attribute DOMString <span title="dom-tdth-height">height</span>;
            attribute boolean <span title="dom-tdth-noWrap">noWrap</span>;
            attribute DOMString <span title="dom-tdth-vAlign">vAlign</span>;
-           attribute DOMString <span title="dom-tdth-width">width</span>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-tdth-bgColor">bgColor</span>;
 };</pre>
 
   <p>The <dfn title="dom-tdth-abbr"><code>abbr</code></dfn>, <dfn
@@ -109685,11 +109692,6 @@
   <span>reflect</span> the respective content attributes of the same
   name.</p>
 
-  <p>The <dfn title="dom-tdth-bgColor"><code>bgColor</code></dfn> IDL
-  attribute of the <code>td</code> and <code>th</code> elements must
-  <span>reflect</span> the elements' <code
-  title="attr-tdth-bgcolor">bgcolor</code> content attributes.</p>
-
   <p>The <dfn title="dom-tdth-ch"><code>ch</code></dfn> IDL
   attribute of the <code>td</code> and <code>th</code> elements must
   <span>reflect</span> the elements' <code
@@ -109710,25 +109712,26 @@
   <span>reflect</span> the elements' <code
   title="attr-tdth-valign">valign</code> content attributes.</p>
 
+  <p>The <dfn title="dom-tdth-bgColor"><code>bgColor</code></dfn> IDL
+  attribute of the <code>td</code> and <code>th</code> elements must
+  <span>reflect</span> the elements' <code
+  title="attr-tdth-bgcolor">bgcolor</code> content attributes.</p>
+
   <hr>
 
   <pre class="idl">partial interface <span>HTMLTableRowElement</span> {
            attribute DOMString <span title="dom-tr-align">align</span>;
-           attribute DOMString <span title="dom-tr-bgColor">bgColor</span>;
            attribute DOMString <span title="dom-tr-ch">ch</span>;
            attribute DOMString <span title="dom-tr-chOff">chOff</span>;
            attribute DOMString <span title="dom-tr-vAlign">vAlign</span>;
+
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-tr-bgColor">bgColor</span>;
 };</pre>
 
   <p>The <dfn title="dom-tr-align"><code>align</code></dfn> IDL
   attribute of the <code>tr</code> element must <span>reflect</span>
   the content attribute of the same name.</p>
 
-  <p>The <dfn title="dom-tr-bgColor"><code>bgColor</code></dfn> IDL
-  attribute of the <code>tr</code> element must <span>reflect</span>
-  the element's <code title="attr-tr-bgcolor">bgcolor</code> content
-  attribute.</p>
-
   <p>The <dfn title="dom-tr-ch"><code>ch</code></dfn> IDL attribute of
   the <code>tr</code> element must <span>reflect</span> the element's
   <code title="attr-tr-char">char</code> content attribute.</p>
@@ -109743,6 +109746,11 @@
   the element's <code title="attr-tr-valign">valign</code> content
   attribute.</p>
 
+  <p>The <dfn title="dom-tr-bgColor"><code>bgColor</code></dfn> IDL
+  attribute of the <code>tr</code> element must <span>reflect</span>
+  the element's <code title="attr-tr-bgcolor">bgcolor</code> content
+  attribute.</p>
+
   <hr>
 
   <pre class="idl">partial interface <span>HTMLUListElement</span> {
@@ -109775,11 +109783,11 @@
   <hr>
 
   <pre class="idl">partial interface <span>HTMLDocument</span> {
-           attribute DOMString <span title="dom-document-fgColor">fgColor</span>;
-           attribute DOMString <span title="dom-document-bgColor">bgColor</span>;
-           attribute DOMString <span title="dom-document-linkColor">linkColor</span>;
-           attribute DOMString <span title="dom-document-vlinkColor">vlinkColor</span>;
-           attribute DOMString <span title="dom-document-alinkColor">alinkColor</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-document-fgColor">fgColor</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-document-linkColor">linkColor</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-document-vlinkColor">vlinkColor</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-document-alinkColor">alinkColor</span>;
+  [TreatNullAs=EmptyString] attribute DOMString <span title="dom-document-bgColor">bgColor</span>;
 
   readonly attribute <span>HTMLCollection</span> <span title="dom-document-anchors">anchors</span>;
   readonly attribute <span>HTMLCollection</span> <span title="dom-document-applets">applets</span>;
@@ -109809,9 +109817,6 @@
      <td><dfn title="dom-document-fgColor"><code>fgColor</code></dfn>
      <td><code title="attr-body-text">text</code>
     <tr>
-     <td><dfn title="dom-document-bgColor"><code>bgColor</code></dfn>
-     <td><code title="attr-body-bgcolor">bgcolor</code>
-    <tr>
      <td><dfn title="dom-document-linkColor"><code>linkColor</code></dfn>
      <td><code title="attr-body-link">link</code>
     <tr>
@@ -109820,6 +109825,9 @@
     <tr>
      <td><dfn title="dom-document-alinkColor"><code>alinkColor</code></dfn>
      <td><code title="attr-body-alink">alink</code>
+    <tr>
+     <td><dfn title="dom-document-bgColor"><code>bgColor</code></dfn>
+     <td><code title="attr-body-bgcolor">bgcolor</code>
   </table>
 
   <hr>




More information about the Commit-Watchers mailing list