spec/Overview.html 1.1144 1953 Make height and width DOM attributes be

Make height and width DOM attributes be unsigned. (whatwg r1953)

HTMLEmbedElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1144.html#htmlembedelement
video
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1144.html#video1
ImageData
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1144.html#imagedata
HTMLImageElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1144.html#htmlimageelement
HTMLIFrameElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1144.html#htmliframeelement
TextMetrics
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1144.html#textmetrics
HTMLObjectElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1144.html#htmlobjectelement
HTMLVideoElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1144.html#htmlvideoelement

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1143&r2=1.1144&f=h
http://html5.org/tools/web-apps-tracker?from=1952&to=1953

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1143
retrieving revision 1.1144
diff -u -d -r1.1143 -r1.1144
--- Overview.html 30 Jul 2008 01:38:15 -0000 1.1143
+++ Overview.html 30 Jul 2008 01:41:26 -0000 1.1144
@@ -15488,8 +15488,8 @@
            attribute DOMString <a href="#src0" title=dom-img-src>src</a>;
            attribute DOMString <a href="#usemap" title=dom-img-useMap>useMap</a>;
            attribute boolean <a href="#ismap0" title=dom-img-isMap>isMap</a>;
-           attribute long <a href="#width" title=dom-img-width>width</a>;
-           attribute long <a href="#height" title=dom-img-height>height</a>;
+           attribute unsigned long <a href="#width" title=dom-img-width>width</a>;
+           attribute unsigned long <a href="#height" title=dom-img-height>height</a>;
   readonly attribute boolean <a href="#complete" title=dom-img-complete>complete</a>;
 };</pre>
   </dl>
@@ -16162,8 +16162,8 @@
            attribute DOMString <a href="#name2" title=dom-iframe-name>name</a>;
            attribute DOMString <a href="#sandbox0" title=dom-iframe-sandbox>sandbox</a>;
            attribute boolean <a href="#seamless1" title=dom-iframe-seamless>seamless</a>;
-           attribute long <a href="#width5" title=dom-dim-width>width</a>;
-           attribute long <a href="#height4" title=dom-dim-height>height</a>;
+           attribute unsigned long <a href="#width5" title=dom-dim-width>width</a>;
+           attribute unsigned long <a href="#height4" 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>;
@@ -16602,8 +16602,8 @@
      class=idl>interface <dfn id=htmlembedelement>HTMLEmbedElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#src4" title=dom-embed-src>src</a>;
            attribute DOMString <a href="#type5" title=dom-embed-type>type</a>;
-           attribute long <a href="#width5" title=dom-dim-width>width</a>;
-           attribute long <a href="#height4" title=dom-dim-height>height</a>;
+           attribute unsigned long <a href="#width5" title=dom-dim-width>width</a>;
+           attribute unsigned long <a href="#height4" title=dom-dim-height>height</a>;
 };</pre>
 
     <p>Depending on the type of content instantiated by the <code><a
@@ -16805,8 +16805,8 @@
            attribute DOMString <a href="#type7" title=dom-object-type>type</a>;
            attribute DOMString <a href="#name4" title=dom-object-name>name</a>;
            attribute DOMString <a href="#usemap0" title=dom-object-useMap>useMap</a>;
-           attribute long <a href="#width5" title=dom-dim-width>width</a>;
-           attribute long <a href="#height4" title=dom-dim-height>height</a>;<!--
+           attribute unsigned long <a href="#width5" title=dom-dim-width>width</a>;
+           attribute unsigned long <a href="#height4" 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>
@@ -17255,8 +17255,8 @@
    <dd>
     <pre
      class=idl>interface <dfn id=htmlvideoelement>HTMLVideoElement</dfn> : <a href="#htmlmediaelement">HTMLMediaElement</a> {
-           attribute long <a href="#width5" title=dom-dim-width>width</a>;
-           attribute long <a href="#height4" title=dom-dim-height>height</a>;
+           attribute unsigned long <a href="#width5" title=dom-dim-width>width</a>;
+           attribute unsigned long <a href="#height4" title=dom-dim-height>height</a>;
   readonly attribute unsigned long <a href="#videowidth" title=dom-video-videoWidth>videoWidth</a>;
   readonly attribute unsigned long <a href="#videoheight" title=dom-video-videoHeight>videoHeight</a>;
            attribute DOMString <a href="#poster1" title=dom-video-poster>poster</a>;
@@ -20533,8 +20533,8 @@
 };
 
 interface <dfn id=imagedata>ImageData</dfn> {
-  readonly attribute long int <a href="#width3" title=dom-imagedata-width>width</a>;
-  readonly attribute long int <a href="#height2" title=dom-imagedata-height>height</a>;
+  readonly attribute unsigned long int <a href="#width3" title=dom-imagedata-width>width</a>;
+  readonly attribute unsigned long int <a href="#height2" title=dom-imagedata-height>height</a>;
   readonly attribute <a href="#canvaspixelarray">CanvasPixelArray</a> <a href="#data1" title=dom-imagedata-data>data</a>;
 };

Received on Wednesday, 30 July 2008 01:45:20 UTC