[whatwg] Inconsistent behavior for empty-string URLs

James May whatwg at fowlsmurf.net
Tue Dec 15 03:16:09 PST 2009


If this change is made, what is the correct (explicit) way to refer to the
current URL? "." ?

In terms of web compat, I do recall a web picture gallery package that
returned a html information page with a self reference to show the actual
image.

-- James

2009/12/15 Maciej Stachowiak <mjs at apple.com>

>
> On Dec 14, 2009, at 11:08 AM, Nicholas Zakas wrote:
>
>  It seems that thusfar, Jonas from Mozilla is open to this change. Is
>> there anyone from Opera or WebKit that would like to chime in either in
>> favor or opposition?
>>
>
> I'd love to issue fewer useless loads, if sites don't actually rely on it.
>
> Does anyone have data on what, if any, compatibility impact this has? I
> can't imagine loading the base URL to be terribly useful in most cases, but
> perhaps there are wacky sites that do indeed rely on it.
>
> Regards,
> Maciej
>
>
>
>
>
>> Thanks.
>>
>> -Nicholas
>>
>> ______________________________________________
>> Commander Lock: "Damnit Morpheus, not everyone believes what you
>> believe!"
>> Morpheus: "My beliefs do not require them to."
>>
>> -----Original Message-----
>> From: whatwg-bounces at lists.whatwg.org
>> [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Nicholas Zakas
>> Sent: Friday, December 11, 2009 10:15 AM
>> To: Simon Pieters; Anne van Kesteren; Aryeh Gregor
>> Cc: whatwg at lists.whatwg.org
>> Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs
>>
>> I agree, automatic downloads are the real issue. <a href=""> is fine
>> because a user must initiate the action (and thus generate a "real"
>> pageview).
>>
>> I'd think that the behavior should be the same in CSS and SVG for
>> resources that are automatically downloaded.
>>
>> -Nicholas
>>
>> ______________________________________________
>> Commander Lock: "Damnit Morpheus, not everyone believes what you
>> believe!"
>> Morpheus: "My beliefs do not require them to."
>>
>> -----Original Message-----
>> From: Simon Pieters [mailto:simonp at opera.com]
>> Sent: Thursday, December 10, 2009 10:57 AM
>> To: Nicholas Zakas; Anne van Kesteren; Aryeh Gregor
>> Cc: whatwg at lists.whatwg.org
>> Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs
>>
>> On Thu, 10 Dec 2009 19:22:43 +0100, Nicholas Zakas
>> <nzakas at yahoo-inc.com>
>> wrote:
>>
>>  I'd be happy to make the compromise that this applies to markup but
>>>
>> not
>>
>>> to JavaScript APIs.
>>>
>>
>> I think it shouldn't apply to markup that doesn't download things
>> automatically; in particular <a href=""> should work.
>>
>> What about URLs in CSS and SVG?
>>
>> --
>> Simon Pieters
>> Opera Software
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091216/76a561f1/attachment-0002.htm>


More information about the whatwg mailing list