Re: [whatwg] Inconsistent behavior for empty-string URLs

2010-03-11 Thread Simon Pieters
On Tue, 09 Mar 2010 01:40:31 +0100, Ian Hickson i...@hixie.ch wrote: On Fri, 18 Dec 2009, Simon Pieters wrote: I've now looked at a selection of random URLs. Conclusion: None of these seem to need a request to be made. img should fire an error event. iframe and frame should use about:blank.

Re: [whatwg] Inconsistent behavior for empty-string URLs

2010-03-11 Thread Ashley Sheridan
On Thu, 2010-03-11 at 17:53 +0100, Simon Pieters wrote: On Tue, 09 Mar 2010 01:40:31 +0100, Ian Hickson i...@hixie.ch wrote: On Fri, 18 Dec 2009, Simon Pieters wrote: I've now looked at a selection of random URLs. Conclusion: None of these seem to need a request to be made. img

Re: [whatwg] Inconsistent behavior for empty-string URLs

2010-03-11 Thread Ian Hickson
On Thu, 11 Mar 2010, Simon Pieters wrote: On Tue, 09 Mar 2010 01:40:31 +0100, Ian Hickson i...@hixie.ch wrote: On Fri, 18 Dec 2009, Simon Pieters wrote: I've now looked at a selection of random URLs. Conclusion: None of these seem to need a request to be made. img should fire

Re: [whatwg] Inconsistent behavior for empty-string URLs

2010-01-12 Thread Nicholas Zakas
to. -Original Message- From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Thursday, January 07, 2010 1:09 PM To: Nicholas Zakas Cc: Simon Pieters; Maciej Stachowiak; whatwg@lists.whatwg.org; Aryeh Gregor Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Thu, Jan 7, 2010

Re: [whatwg] Inconsistent behavior for empty-string URLs

2010-01-12 Thread Ian Hickson
On Tue, 12 Jan 2010, Nicholas Zakas wrote: Sorry to pester, but I want to make sure this comes to resolution before it's forgotten. Any other feedback? Don't worry, all e-mail sent to this list ends up in a pile that I eventually go through and reply to. You can see all the e-mail pending

Re: [whatwg] Inconsistent behavior for empty-string URLs

2010-01-12 Thread Nicholas Zakas
beliefs do not require them to. -Original Message- From: Ian Hickson [mailto:i...@hixie.ch] Sent: Tuesday, January 12, 2010 2:21 PM To: Nicholas Zakas Cc: whatwg@lists.whatwg.org Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Tue, 12 Jan 2010, Nicholas Zakas wrote

Re: [whatwg] Inconsistent behavior for empty-string URLs

2010-01-07 Thread Nicholas Zakas
Of Nicholas Zakas Sent: Tuesday, January 05, 2010 12:21 PM To: Simon Pieters; Jonas Sicking Cc: Maciej Stachowiak; whatwg@lists.whatwg.org; Aryeh Gregor Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs Given all of this info, does anyone believe there's further investigation necessary

Re: [whatwg] Inconsistent behavior for empty-string URLs

2010-01-07 Thread Jonas Sicking
On Thu, Jan 7, 2010 at 1:03 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: I'm going to take a lack of response to this question as a no. :) Given the disparate browser implementations for dealing with empty string URLs, it seems unlikely that anyone is relying upon the current behaviors, so

Re: [whatwg] Inconsistent behavior for empty-string URLs

2010-01-05 Thread Nicholas Zakas
: [whatwg] Inconsistent behavior for empty-string URLs On Mon, 21 Dec 2009 20:03:01 +0100, Nicholas Zakas nza...@yahoo-inc.com wrote: Here are the results of testing various tags with empty URLs across different browsers. The table below indicates how many requests are sent when the given tag

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-22 Thread Simon Pieters
On Mon, 21 Dec 2009 20:03:01 +0100, Nicholas Zakas nza...@yahoo-inc.com wrote: Here are the results of testing various tags with empty URLs across different browsers. The table below indicates how many requests are sent when the given tag is encountered on the page (curiously, Firefox 3

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-21 Thread Nicholas Zakas
, 2009 2:25 AM To: Jonas Sicking Cc: Maciej Stachowiak; whatwg@lists.whatwg.org; Nicholas Zakas; Aryeh Gregor Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Fri, 18 Dec 2009 01:51:44 +0100, Simon Pieters sim...@opera.com wrote: On Thu, 17 Dec 2009 22:58:03 +0100, Simon

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-21 Thread Nicholas Zakas
Cc: Maciej Stachowiak; whatwg@lists.whatwg.org; Aryeh Gregor Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs Here are the results of testing various tags with empty URLs across different browsers. The table below indicates how many requests are sent when the given tag

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-18 Thread Simon Pieters
On Fri, 18 Dec 2009 01:51:44 +0100, Simon Pieters sim...@opera.com wrote: On Thu, 17 Dec 2009 22:58:03 +0100, Simon Pieters sim...@opera.com wrote: I asked Philip to provide some data about pages using empty attributes for these: Philip` zcorpan:

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-17 Thread Simon Pieters
On Wed, 16 Dec 2009 17:21:01 +0100, Jonas Sicking jo...@sicking.cc wrote: So the specific list would then be: img link I think only icon, prefetch and stylesheet links. The following element defines two links, one of which would be ignored: link rel=icon index href Sounds good.

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-17 Thread Nicholas Zakas
...@opera.com] Sent: Thursday, December 17, 2009 1:58 PM To: Jonas Sicking Cc: Nicholas Zakas; Maciej Stachowiak; whatwg@lists.whatwg.org; Aryeh Gregor Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Wed, 16 Dec 2009 17:21:01 +0100, Jonas Sicking jo...@sicking.cc wrote: So the specific

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-17 Thread Simon Pieters
Gregor Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Wed, 16 Dec 2009 17:21:01 +0100, Jonas Sicking jo...@sicking.cc wrote: So the specific list would then be: img link I think only icon, prefetch and stylesheet links. The following element defines two links, one of which

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-17 Thread Simon Pieters
On Thu, 17 Dec 2009 22:58:03 +0100, Simon Pieters sim...@opera.com wrote: I asked Philip to provide some data about pages using empty attributes for these: Philip` zcorpan: http://philip.html5.org/data/empty-url-attributes.txt Philip` zcorpan:

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-17 Thread Nicholas Zakas
-boun...@lists.whatwg.org] On Behalf Of Simon Pieters Sent: Thursday, December 17, 2009 2:44 PM To: Nicholas Zakas; Jonas Sicking Cc: Maciej Stachowiak; whatwg@lists.whatwg.org; Aryeh Gregor Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Thu, 17 Dec 2009 23:20:38 +0100, Nicholas

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-16 Thread Simon Pieters
On Wed, 16 Dec 2009 02:21:33 +0100, Jonas Sicking jo...@sicking.cc wrote: On Tue, Dec 15, 2009 at 4:11 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: Here's what I would propose: 1. Empty string attributes for HTML elements specifying resources to automatically download are considered

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-16 Thread Jonas Sicking
On Wed, Dec 16, 2009 at 2:59 AM, Simon Pieters sim...@opera.com wrote: On Wed, 16 Dec 2009 02:21:33 +0100, Jonas Sicking jo...@sicking.cc wrote: On Tue, Dec 15, 2009 at 4:11 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: Here's what I would propose: 1. Empty string attributes for HTML

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-16 Thread Nicholas Zakas
: Wednesday, December 16, 2009 8:21 AM To: Simon Pieters Cc: Nicholas Zakas; Maciej Stachowiak; whatwg@lists.whatwg.org; Aryeh Gregor Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Wed, Dec 16, 2009 at 2:59 AM, Simon Pieters sim...@opera.com wrote: On Wed, 16 Dec 2009 02:21:33 +0100

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Simon Pieters
On Mon, 14 Dec 2009 20:08:40 +0100, Nicholas Zakas nza...@yahoo-inc.com 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? It appears that Opera already does this (though I

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Maciej Stachowiak
To: Simon Pieters; Anne van Kesteren; Aryeh Gregor Cc: whatwg@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

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread James May
:15 AM To: Simon Pieters; Anne van Kesteren; Aryeh Gregor Cc: whatwg@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

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Aryeh Gregor
On Tue, Dec 15, 2009 at 6:16 AM, James May wha...@fowlsmurf.net wrote: If this change is made, what is the correct (explicit) way to refer to the current URL? . ? No, that will return the file in the current directory named .. This might be the current directory itself. You would have to say

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Jonas Sicking
On Tue, Dec 15, 2009 at 6:55 AM, Aryeh Gregor simetrical+...@gmail.com wrote: On Tue, Dec 15, 2009 at 6:16 AM, James May wha...@fowlsmurf.net wrote: If this change is made, what is the correct (explicit) way to refer to the current URL? . ? No, that will return the file in the current

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Jonas Sicking
On Tue, Dec 15, 2009 at 1:44 AM, Maciej Stachowiak m...@apple.com wrote: 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. Given that opera

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Aryeh Gregor
On Tue, Dec 15, 2009 at 12:33 PM, Jonas Sicking jo...@sicking.cc wrote: I think # should work as well. Good point.

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Nicholas Zakas
do not require them to. -Original Message- From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Tuesday, December 15, 2009 9:37 AM To: Maciej Stachowiak Cc: Nicholas Zakas; whatwg@lists.whatwg.org; Aryeh Gregor; Simon Pieters Subject: Re: [whatwg] Inconsistent behavior for empty-string

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Jonas Sicking
On Tue, Dec 15, 2009 at 11:14 AM, Nicholas Zakas nza...@yahoo-inc.com wrote: Is it necessary to apply this within XSLT and CSS as well? Or is it possible to have this be an HTML-only feature? I'd be happy with the latter. Nothing is required. But we do need a concrete proposal that everyone

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Nicholas Zakas
; whatwg@lists.whatwg.org; Aryeh Gregor; Simon Pieters Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Tue, Dec 15, 2009 at 11:14 AM, Nicholas Zakas nza...@yahoo-inc.com wrote: Is it necessary to apply this within XSLT and CSS as well? Or is it possible to have this be an HTML-only

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Jonas Sicking
On Tue, Dec 15, 2009 at 4:11 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: Here's what I would propose: 1. Empty string attributes for HTML elements specifying resources to automatically download are considered invalid and don't cause a request to be sent. Examples: img, link, script,

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Nicholas Zakas
, December 15, 2009 5:22 PM To: Nicholas Zakas Cc: Maciej Stachowiak; whatwg@lists.whatwg.org; Aryeh Gregor; Simon Pieters Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Tue, Dec 15, 2009 at 4:11 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: Here's what I would propose: 1. Empty

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Aryeh Gregor
On Tue, Dec 15, 2009 at 8:21 PM, Jonas Sicking jo...@sicking.cc wrote: For example not all links are automatically downloaded, such as link rel=prev. However I suspect that we'll want all links to behave the same. I'd say the rule should be that if the type is text/html or unknown, should

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Mike Taylor
behavior for empty-string URLs On Tue, Dec 15, 2009 at 4:11 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: Here's what I would propose: 1. Empty string attributes for HTML elements specifying resources to automatically download are considered invalid and don't cause a request to be sent

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-15 Thread Jonas Sicking
On Tue, Dec 15, 2009 at 5:51 PM, Aryeh Gregor simetrical+...@gmail.com wrote: On Tue, Dec 15, 2009 at 8:21 PM, Jonas Sicking jo...@sicking.cc wrote: For example not all links are automatically downloaded, such as link rel=prev. However I suspect that we'll want all links to behave the same.

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-11 Thread Nicholas Zakas
Gregor Cc: whatwg@lists.whatwg.org Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Thu, 10 Dec 2009 19:22:43 +0100, Nicholas Zakas nza...@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

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-10 Thread Anne van Kesteren
On Wed, 09 Dec 2009 21:14:00 +0100, Nicholas Zakas nza...@yahoo-inc.com wrote: Can the self-reference img exception become the rule and apply to all of these tags the same way? If we'd also apply it to APIs that would be annoying actually. We have a bunch of Web Workers tests that rely on

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-10 Thread Nicholas Zakas
: Wednesday, December 09, 2009 2:56 PM To: Nicholas Zakas Cc: Simon Pieters; Aryeh Gregor; whatwg@lists.whatwg.org Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Wed, Dec 9, 2009 at 12:14 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: Just curious if anyone knows why img src

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-10 Thread Nicholas Zakas
Message- From: Anne van Kesteren [mailto:ann...@opera.com] Sent: Thursday, December 10, 2009 1:56 AM To: Nicholas Zakas; Simon Pieters; Aryeh Gregor Cc: whatwg@lists.whatwg.org Subject: Re: [whatwg] Inconsistent behavior for empty-string URLs On Wed, 09 Dec 2009 21:14:00 +0100, Nicholas Zakas nza

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-10 Thread Jonas Sicking
On Thu, Dec 10, 2009 at 10:22 AM, Nicholas Zakas nza...@yahoo-inc.com wrote: Sweet, so how can we get this done? :) Just gotta convince the other browser vendors that this is a good idea ;) / Jonas

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-10 Thread Simon Pieters
On Thu, 10 Dec 2009 19:22:43 +0100, Nicholas Zakas nza...@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.

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-10 Thread Anne van Kesteren
On Thu, 10 Dec 2009 19:22:43 +0100, Nicholas Zakas nza...@yahoo-inc.com wrote: It's the automatic download that makes this problematic, as it silently doubles the number of requests to the server, which as I've said in previous emails, is a huge problem for high-volume sites. Opera already

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-09 Thread Nicholas Zakas
to. -Original Message- From: whatwg-boun...@lists.whatwg.org [mailto:whatwg-boun...@lists.whatwg.org] On Behalf Of Nicholas Zakas Sent: Tuesday, December 08, 2009 9:43 AM To: Simon Pieters; Aryeh Gregor Cc: whatwg@lists.whatwg.org Subject: Re: [whatwg] Inconsistent behavior for empty-string

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-09 Thread Jonas Sicking
On Wed, Dec 9, 2009 at 12:14 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: Just curious if anyone knows why img src= is the exception in the spec, rather than having the same behavior for all elements that download resources on page load? As far as I can tell, the spec would currently allow

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-08 Thread Simon Pieters
On Mon, 07 Dec 2009 22:52:41 +0100, Aryeh Gregor simetrical+...@gmail.com wrote: I don't know why img src= has a special exception. It would be possible to look through the svn log to see if there was a helpful commit message, or maybe someone will remember. I seem to remember someone from

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-08 Thread Jonas Sicking
On Tue, Dec 8, 2009 at 1:26 AM, Simon Pieters sim...@opera.com wrote: On Mon, 07 Dec 2009 22:52:41 +0100, Aryeh Gregor simetrical+...@gmail.com wrote: I don't know why img src= has a special exception.  It would be possible to look through the svn log to see if there was a helpful commit

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-08 Thread Nicholas Zakas
not require them to. -Original Message- From: whatwg-boun...@lists.whatwg.org [mailto:whatwg-boun...@lists.whatwg.org] On Behalf Of Jonas Sicking Sent: Monday, December 07, 2009 9:53 PM To: Nicholas Zakas Cc: whatwg@lists.whatwg.org Subject: Re: [whatwg] Inconsistent behavior for empty-string

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-08 Thread Nicholas Zakas
] Inconsistent behavior for empty-string URLs On Mon, 07 Dec 2009 22:52:41 +0100, Aryeh Gregor simetrical+...@gmail.com wrote: I don't know why img src= has a special exception. It would be possible to look through the svn log to see if there was a helpful commit message, or maybe someone

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-07 Thread Aryeh Gregor
On Mon, Dec 7, 2009 at 1:51 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: Presently, HTML5 does provide guidance on the correct behavior for img src=”” in section 4.8.2, indicating that Firefox 3.5’s and Opera 10’s behavior in this regard is correct: “If the base URI of the element is the

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-07 Thread Nicholas Zakas
! Morpheus: My beliefs do not require them to. -Original Message- From: simetri...@gmail.com [mailto:simetri...@gmail.com] On Behalf Of Aryeh Gregor Sent: Monday, December 07, 2009 11:44 AM To: Nicholas Zakas Cc: whatwg@lists.whatwg.org Subject: Re: [whatwg] Inconsistent behavior for empty

Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-07 Thread Jonas Sicking
On Mon, Dec 7, 2009 at 10:51 AM, Nicholas Zakas nza...@yahoo-inc.com wrote: Hi, In a recent investigation into capacity issues, I found that there are several instances where the browser will make a second to the page based on resolving empty-string URLs in the several tags. I tested four