[whatwg] Proposal for improved handling of '#' inside of data URIs
simonp at opera.com
Mon Sep 12 04:19:56 PDT 2011
On Sat, 10 Sep 2011 23:15:09 +0200, Daniel Holbert <dholbert at mozilla.com>
> Hi whatwg,
> I'm writing with a proposal to improve the handling of "#" in data URIs.
> I'm particularly looking for feedback from other browser vendors, but of
> course feedback from others is welcome as well.
> Browsers handle the "#" character in data URIs very differently, and the
> arguably "correct" behavior is probably not what authors actually want
> in many cases.
Making it magic seems confusing and error prone. Making data: URLs not
support fragments at all seems to be taking away a useful feature. I think
we should stick to the "correct" behavior and always treat # as fragment
delimiter in data: URLs. I thought we did this already in Opera but
apparently we have some bugs. If you have any test cases demonstrating
where Opera doesn't follow the spec, that would be helpful in getting it
More information about the whatwg