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

Re: An HTML language specification

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 21 Nov 2008 22:07:03 +0000 (UTC)
To: John Kemp <john.kemp@nokia.com>
Cc: HTML WG <public-html@w3.org>, www-tag@w3.org
Message-ID: <Pine.LNX.4.62.0811212202190.19253@hixie.dreamhostps.com>

On Fri, 21 Nov 2008, John Kemp wrote:
> 
> Are you saying that if I were to parse an HTML 5 document and find the 
> element
> 
> <video src="">
>   ...
> </video>
> 
> that the only possible meaningful representation of it is as an 
> HTMLVideoElement?

That depends on your conformance class. If you're a scripting-aware 
interactive user agent, then the only conforming representation of it is 
as an HTMLVideoElement that then proceeds to generate network traffic and 
attempt to render a video.

For other conformance classes, e.g. an authoring tool, a data mining tool, 
a search engine, etc, the requirements differ.


> If not, shouldn't Mike's document be free of DOM-specific implementation 
> requirements (which is not to say that they shouldn't exist - in order 
> to properly define the HTMLMediaElement API)?

I don't have an opinion on what Mike's document should or shouldn't say on 
the matter, I'm talking about what the HTML5 spec should say if it is to 
separate semantic definitions and implementation requirements of elements 
and content attributes from implementation requirements for DOM 
interfaces, as it seems you suggested [1]. If that wasn't your intent, 
then my apologies.


[1] http://lists.w3.org/Archives/Public/public-html/2008Nov/0375.html

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 21 November 2008 22:07:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:26 GMT