Re: Change Proposal for HttpRange-14

On 24 Mar 2012, at 23:09, Niklas Lindström wrote:

> On Sat, Mar 24, 2012 at 7:25 PM, Dan Brickley <danbri@danbri.org> wrote:

>> . Are there values that would be
>> legitimate as URI/IRI references, yet impossible to be HTML anchor
>> targets? (and therefore avoid clashes?)
> 
> One that is both a valid URI/IRI reference [1] and cannot be an HTML
> anchor [2] is the *empty* fragment identifier.

It can't be used, but it does mean something in html:

"The indicated part of the document is the one that the fragment identifier, if any, identifies.
....
If fragid is the empty string, then the indicated part of the document is the top of the document;" [1]

(It is a bit buried in the spec)

Damian

[1] <http://dev.w3.org/html5/spec/history.html#scroll-to-fragid>

Received on Sunday, 25 March 2012 00:32:37 UTC