- From: Yaar Schnitman <yaar@chromium.org>
- Date: Thu, 4 Feb 2010 23:03:04 -0800
Hi, 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". Shouldn't they be long then? 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? Thanks, Yaar [1] 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> [2] http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#attr-dim-width [3] http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100204/a27b72b4/attachment.htm>
Received on Thursday, 4 February 2010 23:03:04 UTC