- From: James Graham <jg307@cam.ac.uk>
- Date: Wed, 10 Oct 2007 15:27:16 +0100
- To: Maurice Carey <maurice@thymeonline.com>
- CC: HTML Working Group <public-html@w3.org>
Maurice Carey wrote: > On 10/10/07 4:52 AM, "Henri Sivonen" <hsivonen@iki.fi> wrote: > >> Regarding IRC logs from yesterday: >> >> The <video> element currently lacks width and height attributes on >> the grounds that: >> 1) They'd be presentational. >> 2) YouTube and the like put all videos in the same box. >> 3) Different dimensions are called for different media, so the >> <div><style scoped media='...'> video { width: ...; height: ...; } </ >> style><style scoped media='...'> video { width: ...; height: ...; } </ >> style><video>...</video></div> would encourage media-independence >> while <video width='...' height='...'>...</video> would not. >> >> And, yet, for *practical* purposes, authors seem to *expect* to have >> width and height attributes at their disposal. (Based on expectations >> voiced on IRC.) I suggest adding width and height attributes to <video>. > > <video style="width:320px; height:240px; border:2px solid #036; > margin:16px;"> wouldn't work? > It would work but it's currently non-conforming (the style attribute is not in the draft). I am hopeful this will change [1]. I also think that width and height attributes on <video> make sense by analogy to <img>. [1] http://esw.w3.org/topic/HTML/StyleAttribute -- "Eternity's a terrible thought. I mean, where's it all going to end?" -- Tom Stoppard, Rosencrantz and Guildenstern are Dead
Received on Wednesday, 10 October 2007 14:27:44 UTC