W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

[whatwg] Naming of "Self-closing start tag state"

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 10 Jun 2009 21:53:08 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0906102150430.1648@hixie.dreamhostps.com>
On Thu, 21 May 2009, Geoffrey Sneddon wrote:
>
> I think this is a bit of a misnomer, as the current token can be an end 
> tag token (although it will throw a parse error whatever happens once it 
> reaches this state). I suggest renaming it to "self-closing tag state".

I started doing this, but then I stopped because while the whole name of 
the state is wrong, changing it at this point would just confuse people 
who have implementations, and that doesn't seem worth it.

If you need to justify to yourself why the "Self-closing start tag state" 
can be reached for end tags, just consider that that is why it's a parse 
error -- it's obviously wrong syntax if it mixes start tag and end tag 
syntax. If you need to justify to yourself why the state is called "self- 
closing" when the syntax in fact has no effect whatsoever, least of all 
actually closing anything, then you haven't got enough problems, and I 
recommend volunteering for some community service or something.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 10 June 2009 14:53:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:13 UTC