W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] li start tag algorithm clarification.

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 2 Dec 2008 03:08:53 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0812020307500.17414@hixie.dreamhostps.com>
On Mon, 10 Nov 2008, Tommy Thorsen wrote:
> In the handler for 'A start tag whose tag name is "li"' in "in body", 
> the algorithm says "jump to the last step" in a couple of places. Is 
> "the last step" step 5, or is it the final unnumbered step which says, 
> "Finally, insert an HTML element for the token"?
> I suggest, to make this clearer, that we give the final step a number 
> (the number 6 comes to mind) and change "jump to the last step" to "jump 
> to step 5/6".
> This also goes for the next section (the one called 'A start tag whose 
> name is one of: "dd", "dt"').

I don't like using numbers because the numbers change and I forget to 
update them and this causes all kinds of really hard to debug bugs.

I've annotated the last step as being "the last step" so that it's clear. 
Let me know if it's still ambiguous.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 1 December 2008 19:08:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC