W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2012

[whatwg] Augmenting HTML parser to recognize new elements

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 20 Jan 2012 17:03:09 +0200
Message-ID: <CAJQvAudpkh67QqZzag5po-Mk3ycxX9o6tZVTnSeb726JciN6ag@mail.gmail.com>
On Wed, Jan 18, 2012 at 8:19 PM, Dimitri Glazkov <dglazkov at chromium.org> wrote:
> A typical example would be specifying an insertion point (that's
> <content> element) as child of a <table>:
>
> <table>
> ? ?<content>
> ? ? ? ?<tr>
> ? ? ? ? ? ?...
> ? ? ? ?</tr>
> ? ?</content>
> </table>
>
> Both <shadow> and <template> elements have similar use cases.

This doesn't comply with the Degrade Gracefully design principle. Is
this feature so important that it's reasonable to change table parsing
(one of the annoying parts of the parsing algorithm) in a way that'd
make the modified algorithm yield significantly different results than
existing browsers? Have designs that don't require changes to table
parsing been explored?

> What would be the sane way to document such changes to the HTML parser
> behavior?

A change to the HTML spec proper *if* we decide that changes are a good idea.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Friday, 20 January 2012 07:03:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:10 UTC