Re: [whatwg] Proposal for improved handling of '#' inside of data URIs

<5iqs6790srncoqep2b9dfflugrjllqtb6g@hive.bjoern.hoehrmann.de>

Current votes: None.

* Michal Zalewski wrote:
>What about javascript: URLs?
>
>Right now, every browser seems to treat javascript:alert('#') in an
>"intuitive" manner.

With <javascript:"<p style=margin-bottom:2000px>...<p id='x&quot'>#x"> 
Firefox will scroll down to the second p element with value "#x". That
is neither very intuitive nor interoperable. As it is, the draft says
http://tools.ietf.org/html/draft-hoehrmann-javascript-scheme-03 if you
want the "# as content" behavior, then that should be specified by some
higher level protocol (like the HTML specification when you want this
for <a href> attribute values for instance) as fragment identifiers are
scheme-independent.