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

video: various width/height attributes

From: Jim Jewett <jimjjewett@gmail.com>
Date: Sat, 22 Nov 2008 23:31:38 -0500
Message-ID: <fb6fbf560811222031u41a1a4f9w8234c088cce3fad2@mail.gmail.com>
To: "HTML WG" <public-html@w3.org>

Looking at http://www.whatwg.org/specs/web-apps/current-work/#video

I think the various width/height definitions need to be clarified (and
placed right next to each other?), or even reduced, to avoid buggy

As best I can tell:

(1)  The document element itself has only "width" and "height", which
are in CSS pixels.
(2)  The document element attributes are reflected in the DOM as
"width" and "height".
(3)  The binary data in the video's own media stream may include
height and width, which are called "intrinsic height" and "intrinsic
(4)  "intrinsic height" and "intrinsic width" are added to the DOM
under the names "videoWidth" and "videoHeight"
(5)  "adjusted height" and "adjusted width" do not appear in the
document or the DOM; they are not available to scripts.  They are
simply convenient labels to simplify the spec-writing on how to deal
with non-square pixels in either the source media or the display
screen.  (Or perhaps only of the display screen?)

Received on Sunday, 23 November 2008 04:32:13 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:39 UTC