W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] markup as authored in practice

From: Sam Ruby <rubys@intertwingly.net>
Date: Sat, 02 Dec 2006 14:45:06 -0500
Message-ID: <4571D7C2.9040006@intertwingly.net>
Robert Sayre wrote:
> 
> SVG and MathML have a DOM. It wouldn't be that hard to serialize it as 
> HTML5.

Robert, if you will permit me, I would like to recast that into the form 
of a question, jeopardy style.

The question is: what would the HTML5 serialization be for the DOM which 
is internally produced by the script in the following HTML5 document?

   http://intertwingly.net/stories/2006/12/02/whatwg.logo

Any takers?

- Sam Ruby

P.S.  That script, complete with indentation and readable variable 
names, is still an order of magnitude smaller than

   http://whatwg.org/images/logo

People could save bandwidth and reduce the number of HTTP requests (and 
not have to worry about hotlinking!) by dropping this script into their 
pages (of course, they could save even more bytes if there were a direct 
HTML5 serialization of this DOM, hence the question.

P.P.S.  I realize that not all browsers support this relative new 
elements.  It is my understanding that HTML5 will be introducing new 
elements too.
Received on Saturday, 2 December 2006 11:45:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC