W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2007

[whatwg] Defining error handling: Picking the correct named anchor in case of ambiguity

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 5 Nov 2007 17:34:15 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0711051734010.30809@hixie.dreamhostps.com>
On Thu, 4 Jan 2007, Eira Monstad wrote:
>
> Given the case:
> 
> <a href="#foo">click</a>
> 
> <a name="foo">first</a>
> <a name="foo">last</a>
> 
> I can't see that HTML5 defines which of the two identically named 
> anchors the link should match. It should probably be defined.
> 
> IE, Firefox, Konqueror and Safari all choose the first. Opera chooses 
> the last. We have an open interoperability bug on that.

This is now defined.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 5 November 2007 09:34:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:42 GMT