- From: Kris Van Bruwaene <Kris.VanBruwaene@vrt.be>
- Date: Wed, 24 Nov 2004 13:48:37 +0100
- To: Bartolomé Sintes Marco <BartolomeSintes@ono.com>
- Cc: www-amaya@w3.org
Hi > If two targets have the same id and name attributes crossed in a XHTML 1.0 Strict document: > <p><a href="#Target1">Link</a></p> > <p><a name="Target1" id="Target2">Target 1</a></p> > <p><a name="Target2" id="Target1">Target 2</a></p> > which one is the target of the link? > > Amaya and Internet Explorer jump to the first target (it seems they use the name attribute), but Mozilla jumps to the second one (it seems it uses the id attribute). > > Is it an Amaya bug or a Mozilla bug? Neither, it is a matter of interpretation; from http://www.w3.org/TR/xhtml1/ : "Note that in XHTML 1.0, the name attribute of these elements is formally deprecated, and will be removed in a subsequent version of XHTML." Kris
Received on Wednesday, 24 November 2004 12:49:07 UTC