[whatwg] video tag: pixel aspect ratio

Kristof Zelechovski giecrilj at stegny.2a.pl
Wed Oct 15 11:26:49 PDT 2008

We could also say that specifying only one coordinate has no effect.  I
think the requirement that both attributes have to be present or absent
cannot be specified in a document type definition (if someone would like to
have one nevertheless).




From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Sander van Zoest
Sent: Wednesday, October 15, 2008 6:35 PM
To: Eduard Pascual
Cc: whatwg at lists.whatwg.org; Ian Hickson
Subject: Re: [whatwg] video tag: pixel aspect ratio



On Wed, Oct 15, 2008 at 8:22 AM, Eduard Pascual <herenvardo at gmail.com>

On Wed, Oct 15, 2008 at 10:40 AM, Ian Hickson <ian at hixie.ch> wrote:



> I am very reluctant to make up a whole
> new microsyntax and corresponding parser algorithm, along with all the
> tests, etc, to handle this one case.

I still don't understand why the spec has to define each and every
parser algorythm (IMO, it should only define the syntax, and then the
implementation should define its own algorythm that parses that syntax
as defined); but if that's the issue then a microsyntax can be
perfectly avoided by splitting the argument into two separate ones,
such as pixelratiox and pixelratioy.

The only issue I have with splitting it into separate ones, is that we need
ensure that both exist or none exist, having just X or just Y is clearly
and should not be allowed.

-- Sander


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20081015/ace6d974/attachment-0001.htm>

More information about the whatwg mailing list