<div>Hi,</div><div><br></div><div>According to [1], the video&#39;s width &amp; height attributes are DOMString, but according to [2] width &amp; height &quot;must have values that are valid non-negative integers&quot;.</div>

<div>Shouldn&#39;t they be long then?</div><div><br></div><div>Digging deeper, I found that video, iframe, embed and object all have DOMString width &amp; height attributes, but img specifies width &amp; height to be long [3]. For consistency, shouldn&#39;t all of them be the same?</div>

<div><br></div><div>Thanks,</div><div>Yaar</div><div><br></div><meta charset="utf-8"><div>[1] <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#video">http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#video</a></div>

<div><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#video"></a>[2] <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#attr-dim-width">http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#attr-dim-width</a></div>

<div>[3] <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element">http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element</a></div>

<meta charset="utf-8"><meta charset="utf-8">