Re: Parsing of HTML fragments

On Wed, 25 Apr 2007 02:04:23 +0200, Edward O'Connor <hober0@gmail.com>  
wrote:

>> The "innerHTML parsing mode" isn't restricted to innerHTML; it's just a
>> way to parse fragments with a particular context. You can use the
>> algorithm described for innerHTML in the spec for other purposes, such  
>> as this one.
>
> Right, this is what I had in mind.

If the section of "Web Applications 1.0" we are talking about is the  
following:

<http://www.whatwg.org/specs/web-apps/current-work/#innerhtml0>

would it not be suitable to actually make this a proper section (with a  
header and all) and call it "HTML Fragment Parsing Algorithm" or something  
similar, so it more easilly can be referenced in other parts of the  
specification as well as from other specifications?

Releasing the section from the 'innerHTML' wording makes it (look) more  
generic. Although the algorithm is the same, I think it would serve well  
to keep the naming generic to allow for generic references to the section  
 from other specifications.

-- 
Asbjørn Ulsberg           -=|=-        asbjorn@ulsberg.no
«He's a loathsome offensive brute, yet I can't look away»

Received on Wednesday, 25 April 2007 16:17:15 UTC