W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2004

XHTML question (possible Amaya bug)

From: Bartolomé Sintes Marco <BartolomeSintes@ono.com>
Date: Mon, 22 Nov 2004 19:03:02 +0100
Message-ID: <001001c4d0bd$82842070$c3efca51@goofy>
To: <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?

Best regards,
Bartolomé Sintes (http://www.mclibre.org)
Received on Monday, 22 November 2004 18:03:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:39 GMT