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

html5/spec Overview.html,1.1505,1.1506

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 15 Oct 2008 20:16:12 +0000
To: public-html-commits@w3.org
Message-Id: <E1KqCmy-0002U8-37@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv9518

Modified Files:
	Overview.html 
Log Message:
Turns out that embed, object, and iframe reflect strings for .height and .width, not numbers. Go figure. (whatwg r2333)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1505
retrieving revision 1.1506
diff -u -d -r1.1505 -r1.1506
--- Overview.html	15 Oct 2008 00:57:31 -0000	1.1505
+++ Overview.html	15 Oct 2008 20:16:09 -0000	1.1506
@@ -12271,8 +12271,8 @@
            attribute DOMString <a href=#dom-iframe-name title=dom-iframe-name>name</a>;
            attribute DOMString <a href=#dom-iframe-sandbox title=dom-iframe-sandbox>sandbox</a>;
            attribute boolean <a href=#dom-iframe-seamless title=dom-iframe-seamless>seamless</a>;
-           attribute unsigned long <a href=#dom-dim-width title=dom-dim-width>width</a>;
-           attribute unsigned long <a href=#dom-dim-height title=dom-dim-height>height</a>;
+           attribute DOMString <a href=#dom-dim-width title=dom-dim-width>width</a>;
+           attribute DOMString <a href=#dom-dim-height title=dom-dim-height>height</a>;
 <!-- XXX we should bring these back since the Window spec has atrophied
   readonly attribute Document <span title="dom-iframe-contentDocument">contentDocument</span>;
   readonly attribute <span>Window</span> <span title="dom-iframe-contentWindow">contentWindow</span>;
@@ -12613,8 +12613,8 @@
 <pre class=idl>interface <dfn id=htmlembedelement>HTMLEmbedElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
            attribute DOMString <a href=#dom-embed-src title=dom-embed-src>src</a>;
            attribute DOMString <a href=#dom-embed-type title=dom-embed-type>type</a>;
-           attribute unsigned long <a href=#dom-dim-width title=dom-dim-width>width</a>;
-           attribute unsigned long <a href=#dom-dim-height title=dom-dim-height>height</a>;
+           attribute DOMString <a href=#dom-dim-width title=dom-dim-width>width</a>;
+           attribute DOMString <a href=#dom-dim-height title=dom-dim-height>height</a>;
 };</pre>
     <p>Depending on the type of content instantiated by the
     <code><a href=#the-embed-element>embed</a></code> element, the node may also support other
@@ -12736,8 +12736,8 @@
            attribute DOMString <a href=#dom-object-type title=dom-object-type>type</a>;
            attribute DOMString <a href=#dom-object-name title=dom-object-name>name</a>;
            attribute DOMString <a href=#dom-object-usemap title=dom-object-useMap>useMap</a>;
-           attribute unsigned long <a href=#dom-dim-width title=dom-dim-width>width</a>;
-           attribute unsigned long <a href=#dom-dim-height title=dom-dim-height>height</a>;<!--
+           attribute DOMString <a href=#dom-dim-width title=dom-dim-width>width</a>;
+           attribute DOMString <a href=#dom-dim-height title=dom-dim-height>height</a>;<!--
   readonly attribute Document <span title="dom-object-contentDocument">contentDocument</span>;
   readonly attribute <span>Window</span> <span title="dom-object-contentWindow">contentWindow</span>;-->
 };</pre>
@@ -13095,8 +13095,8 @@
    <dt>DOM interface:</dt>
    <dd>
     <pre class=idl>interface <dfn id=htmlvideoelement>HTMLVideoElement</dfn> : <a href=#htmlmediaelement>HTMLMediaElement</a> {
-           attribute unsigned long <a href=#dom-dim-width title=dom-dim-width>width</a>;
-           attribute unsigned long <a href=#dom-dim-height title=dom-dim-height>height</a>;
+           attribute DOMString <a href=#dom-dim-width title=dom-dim-width>width</a>;
+           attribute DOMString <a href=#dom-dim-height title=dom-dim-height>height</a>;
   readonly attribute unsigned long <a href=#dom-video-videowidth title=dom-video-videoWidth>videoWidth</a>;
   readonly attribute unsigned long <a href=#dom-video-videoheight title=dom-video-videoHeight>videoHeight</a>;
            attribute DOMString <a href=#dom-video-poster title=dom-video-poster>poster</a>;
@@ -13716,7 +13716,7 @@
   </dl><p>The algorithm for the <code title=dom-media-load><a href=#dom-media-load>load()</a></code>
   method defined below describes exactly when the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute changes
   value and what events fire to indicate changes in this state.<p class=note>Some resources, e.g. streaming Web radio, can never
-  each the <code title=dom-media-NETWORK_LOADED><a href=#dom-media-network_loaded>NETWORK_LOADED</a></code> state.<h5 id=loading-the-media-resource><span class=secno>4.8.10.4 </span>Loading the media resource</h5><p>All <a href=#media-element title="media element">media elements</a> have a
+  reach the <code title=dom-media-NETWORK_LOADED><a href=#dom-media-network_loaded>NETWORK_LOADED</a></code> state.<h5 id=loading-the-media-resource><span class=secno>4.8.10.4 </span>Loading the media resource</h5><p>All <a href=#media-element title="media element">media elements</a> have a
   <dfn id=begun-flag>begun flag</dfn>, which must begin in the false state, and an
   <dfn id=autoplaying-flag>autoplaying flag</dfn>, which must begin in the true state.<p>When the <dfn id=dom-media-load title=dom-media-load><code>load()</code></dfn>
   method on a <a href=#media-element>media element</a> is invoked, the user agent
@@ -16970,12 +16970,13 @@
   XML form, interactive HTML user agents are encouraged to provide a
   way to export any SVG fragment as a namespace-well-formed XML
   fragment.<h4 id=dimension-attributes><span class=secno>4.8.17 </span><dfn>Dimension attributes</dfn></h4><p>The <dfn id=attr-dim-width title=attr-dim-width><code>width</code></dfn> and <dfn id=attr-dim-height title=attr-dim-height><code>height</code></dfn> attributes on
-  <code><a href=#the-img-element>img</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-object-element>object</a></code>, and
-  <code><a href=#video>video</a></code> elements may be specified to give the dimensions
-  of the visual content of the element (the width and height
-  respectively, relative to the nominal direction of the output
-  medium), in CSS pixels. The attributes, if specified, must have
-  values that are <a href=#valid-positive-non-zero-integers>valid positive non-zero integers</a>.<p>The specified dimensions given may differ from the dimensions
+  <code><a href=#the-img-element>img</a></code>, <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-embed-element>embed</a></code>,
+  <code><a href=#the-object-element>object</a></code>, and <code><a href=#video>video</a></code> elements may be
+  specified to give the dimensions of the visual content of the
+  element (the width and height respectively, relative to the nominal
+  direction of the output medium), in CSS pixels. The attributes, if
+  specified, must have values that are <a href=#valid-positive-non-zero-integers>valid positive non-zero
+  integers</a>.<p>The specified dimensions given may differ from the dimensions
   specified in the resource itself, since the resource may have a
   resolution that differs from the CSS pixel resolution. (On screens,
   CSS pixels have a resolution of 96ppi, but in general the CSS pixel
@@ -16993,9 +16994,9 @@
   section</a><!-- XXX xref -->. If one of these attributes, when
   parsing, returns no value, it must be treated, for the purposes of
   those requirements, as if it was not specified.<p>The <dfn id=dom-dim-width title=dom-dim-width><code>width</code></dfn> and <dfn id=dom-dim-height title=dom-dim-height><code>height</code></dfn> DOM attributes on
-  the <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-object-element>object</a></code>, and <code><a href=#video>video</a></code>
-  elements must <a href=#reflect>reflect</a> the respective content attributes
-  of the same name.<h3 id=tabular-data><span class=secno>4.9 </span>Tabular data</h3><h4 id=table-intro><span class=secno>4.9.1 </span>Introduction</h4><p><em>This section is non-normative.</em><p class=XXX>...examples, how to write tables accessibly, a
+  the <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-object-element>object</a></code>,
+  and <code><a href=#video>video</a></code> elements must <a href=#reflect>reflect</a> the
+  respective content attributes of the same name.<h3 id=tabular-data><span class=secno>4.9 </span>Tabular data</h3><h4 id=table-intro><span class=secno>4.9.1 </span>Introduction</h4><p><em>This section is non-normative.</em><p class=XXX>...examples, how to write tables accessibly, a
   brief mention of the table model, etc...<h4 id=the-table-element><span class=secno>4.9.2 </span>The <dfn><code>table</code></dfn> element</h4><dl class=element><dt>Categories</dt>
    <dd><a href=#flow-content-0>Flow content</a>.</dd>
    <dt>Contexts in which this element may be used:</dt>
Received on Wednesday, 15 October 2008 20:16:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 15 October 2008 20:16:23 GMT