[whatwg] Editorial: parsing section

Anne van Kesteren fora at annevankesteren.nl
Mon Sep 25 03:26:20 PDT 2006


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?

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


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list