This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
From annevk: http://lists.w3.org/Archives/Public/public-webapps/2013JanMar/0374.html -- I was wondering if this rewrite of 3.1-3.3 is correct: 1. Let CONTEXT be null. 2. If ANCESTOR is an insertion point, set CONTEXT to the top-most item in STACK that is not an insertion point, if any. 3. If STACK is empty, push ANCESTOR on STACK. I think this would be quite a bit clearer.
(In reply to comment #0) > From annevk: > > http://lists.w3.org/Archives/Public/public-webapps/2013JanMar/0374.html > > -- > I was wondering if this rewrite of 3.1-3.3 is correct: > > 1. Let CONTEXT be null. > 2. If ANCESTOR is an insertion point, set CONTEXT to the top-most item > in STACK that is not an insertion point, if any. > 3. If STACK is empty, push ANCESTOR on STACK. > > I think this would be quite a bit clearer. The new algo is not going to work quite the same way, since we need to always push an item on stack when ANCESTOR is an insertion point. Let me close this for now, I need to rework that whole algo anyway.