[Bug 7724] I would like to know: what is to become of the A element’s NAME attribute? I validated a HTML5 website that I am working this Wednesday (2009-09-23) which contained an A element with a NAME attribute: the W3C Markup Validator did not mind one bit. Howe

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7724


Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simonp@opera.com
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #2 from Simon Pieters <simonp@opera.com>  2009-09-28 14:42:24 ---
> the NAME attribute should remain in the spec
> (maybe marked as deprecated)

This is what the spec does already; it's obsolete but conforming, with some
restrictions on the value.


>    I have just noticed that when you validate markup with
> http://validator.w3.org using the "Validate by URI" or "Validate by File
> Upload" modes, errors are generated for each occurrence of <A NAME="..."></A>.
> However, the same markup passes with flying colours in "Validate by Direct
> Input" mode(???).

I suggest you file a bug on validator.w3.org.


>    Which of these is the authoritative version?

The spec is authoritative, not the validator. :-)


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 28 September 2009 14:49:07 UTC