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

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 UTC