Re: Parsing of HTML fragments

On Wed, 25 Apr 2007, Asbjørn Ulsberg wrote:
> 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.

Done. I'm sure this introduced some errors, so I'll be fixing things over 
the next few days as I see them. If anyone spots any problems with these 
changes, please let me know. (One thing I haven't done is renamed the 
"innerHTML case" term, but I'll do that shortly.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 20 June 2007 00:07:30 UTC