W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2010

html5/spec Overview.html,1.4454,1.4455

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 01 Oct 2010 18:56:40 +0000
To: public-html-commits@w3.org
Message-Id: <E1P1kme-0005GE-WB@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20208

Modified Files:
	Overview.html 
Log Message:
IDL and content attributes can have different defaults, which can be confusing. Try to clear some of those up. Let me know if I missed any others. (whatwg r5573)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4454
retrieving revision 1.4455
diff -u -d -r1.4454 -r1.4455
--- Overview.html	1 Oct 2010 06:13:58 -0000	1.4454
+++ Overview.html	1 Oct 2010 18:56:37 -0000	1.4455
@@ -15026,7 +15026,8 @@
   <p>The <dfn id="dom-ol-reversed" title="dom-ol-reversed"><code>reversed</code></dfn>,
   <dfn id="dom-ol-start" title="dom-ol-start"><code>start</code></dfn>, and <dfn id="dom-ol-type" title="dom-ol-type"><code>type</code></dfn> IDL attributes must
   <a href="#reflect">reflect</a> the respective content attributes of the same
-  name.</p>
+  name. The <code title="dom-ol-start"><a href="#dom-ol-start">start</a></code> IDL attribute has
+  the same default as its content attribute.</p>
 
   </div><div class="example">
 
@@ -23562,7 +23563,7 @@
   <p>The <dfn id="dom-canvas-width" title="dom-canvas-width"><code>width</code></dfn> and
   <dfn id="dom-canvas-height" title="dom-canvas-height"><code>height</code></dfn> IDL
   attributes must <a href="#reflect">reflect</a> the respective content
-  attributes of the same name.</p>
+  attributes of the same name, with the same defaults.</p>
 
   </div><div class="example">
    <p>Only one square appears to be drawn in the following example:</p>
@@ -49444,10 +49445,9 @@
   element is focused).</p>
 
   <p>The <dfn id="dom-tabindex" title="dom-tabIndex"><code>tabIndex</code></dfn> IDL
-  attribute must <a href="#reflect">reflect</a> the value of the <code title="attr-tabindex"><a href="#attr-tabindex">tabindex</a></code> content attribute. If the
-  attribute is not present, or parsing its value returns an error,
-  then the IDL attribute must return 0 for elements that are focusable
-  and &minus;1 for elements that are not focusable.</p>
+  attribute must <a href="#reflect">reflect</a> the value of the <code title="attr-tabindex"><a href="#attr-tabindex">tabindex</a></code> content attribute. Its default
+  value is 0 for elements that are focusable and &minus;1 for
+  elements that are not focusable.</p>
 
   </div><div class="impl">
 
Received on Friday, 1 October 2010 18:56:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 October 2010 18:56:42 GMT