[whatwg] Editorial: parsing section

On Mon, 25 Sep 2006, Anne van Kesteren wrote:
>
> On Mon, 25 Sep 2006 03:46:56 +0200, Ian Hickson <ian at hixie.ch> wrote:
> > Your confusion here is exactly what I'm worried about. The point is that
> > in the main phase, whatever the insertion mode, you have to start each
> > token's processing from the start of the main phase. Which handles the
> > DOCTYPEs and certain character nodes, before looking at the insertion mode
> > flag and handling the other things (including "anything else").
> > 
> > Insertion modes are not phases. They are all processed as part of the main
> > phase process each time.
> 
> Ah, I understand what you mean now (I think). Currently I only see DOCTYPE and
> "html" start tag there. Shouldn't Comment be there as well?

Comments are handled differently in "after body" mode than in the other 
modes.


> Anyway, perhaps you should have a note somewhere to make this more clear?

I'm not sure what the note would be and where it should go... can you 
suggest some text and a location? I'd love to make this clearer but I'm 
probably too close to it to understand how to do so.

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

Received on Monday, 25 September 2006 10:01:34 UTC