[whatwg] Unresolvable hyperlinks

Ian Hickson ian at hixie.ch
Fri Jun 27 15:02:29 PDT 2008


On Thu, 1 Mar 2007, Anne van Kesteren wrote:
>
> Should the specification say what happens when a user agent can't 
> resolve a hyperlink.

This is now defined (though let me know if you can work out exactly how, 
because it's rather convoluted and I may have made a mistake).


> For example, take the following resource:
> 
>   data:text/html,<a href="foo">bar</a>
>
> It also seems user agents treat the following resource differently:
> 
>   data:text/html,<a href="%23x">foo</a><p style=margin-top:120%><b
>   id=x>bar</b></p>
>
> (I would expect this one to work as it does in Opera 9...)
> 
> I should fine some time to do some more testing with same-document 
> references I guess...

These examples seem like RFC3986 issues to me, I'm not sure there's 
anything missing in HTML5 at this point that would prevent these from 
"working" assuming that 3986 is clear about how to resolve those URLs 
(which I'm not sure it is).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list