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

<div>Shouldn't they be long then?</div><div><br></div><div>Digging deeper, I found that video, iframe, embed and object all have DOMString width & height attributes, but img specifies width & height to be long [3]. For consistency, shouldn'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">