- From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
- Date: Tue, 13 Apr 2010 00:07:42 +1000
- To: Anne van Kesteren <annevk@opera.com>
- Cc: Joe D Williams <joedwil@earthlink.net>, Sean Hayes <Sean.Hayes@microsoft.com>, public-html <public-html@w3.org>
On Mon, Apr 12, 2010 at 9:16 PM, Anne van Kesteren <annevk@opera.com> wrote: > On Mon, 12 Apr 2010 08:21:33 +0200, Silvia Pfeiffer > <silviapfeiffer1@gmail.com> wrote: >> >> What other markup are you referring to that is already using @name? >> @name is not a global attribute like @id or @title (see >> >> http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#global-attributes). >> It has a different meaning with every element. So, it is perfectly >> fine to use it here IMO. > > Elements using name="" are found using getElementsByName() which does not > look at whether name is used on an element where it is allowed or not. Interesting, hmm. Does that mean it's a reserved attribute for some reason? I don't actually mind what we call the attribute - I thought there were reasons for calling it @name and not @title, but if @title is indeed more appropriate, I'm happy to be convinced. Cheers, Silvia.
Received on Monday, 12 April 2010 14:08:38 UTC