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

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.

-- 
Eira Monstad

Received on Thursday, 4 January 2007 03:10:56 UTC