W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

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

From: Simon Pieters <simonp@opera.com>
Date: Mon, 12 Sep 2011 13:19:56 +0200
Message-ID: <op.v1o0fimoidj3kv@simon-pieterss-macbook.local>
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  

Simon Pieters
Opera Software
Received on Monday, 12 September 2011 04:19:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC