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

[whatwg] Augmenting HTML parser to recognize new elements

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 18 Jan 2012 23:08:34 +0100
Message-ID: <4F1742E2.4090707@gmx.de>
On 2012-01-18 22:55, Dimitri Glazkov wrote:
> On Wed, Jan 18, 2012 at 1:47 PM, Adam Barth<w3c at adambarth.com>  wrote:
>> On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkov<dglazkov at chromium.org>  wrote:
>>> On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov<dglazkov at chromium.org>  wrote:
>>>> Ah, that's a good question. This also must be specified. It should
>>>> depend on the parent of the<content>  element. If the parent is shadow
>>>> root or<table>, then it should make<tr>  the child of<content>.
>>>> Otherwise, it should use foster parenting as usual.
>>>
>>> Oops, not "foster parenting", but "ignore" as you mentioned. Still
>>> getting through the details of the parsing spec.
>>
>> There's also some subtly w.r.t. the pending character tokens.
>>
>> More generally, I think we'd all be much more sane if the HTML parsing
>> algorithm was specified in the HTML living standard rather than
>> modified ad-hoc in a number of different documents.
>
> That makes sense, but how will we handle the fact that the elements in
> the algorithm aren't part of the HTML specification?
> ...

The algorithm should be specified so that all future elements follow the 
same parsing rules, thus no further changes are required.

Best regards, Julian
Received on Wednesday, 18 January 2012 14:08:34 UTC

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