Re: [whatwg] Priority between a download and content-disposition

2013-03-18 Thread Jonas Sicking
On Mar 17, 2013 4:46 AM, Julian Reschke julian.resc...@gmx.de wrote: On 2013-03-17 02:49, Jonas Sicking wrote: It's currently unclear what to do if a page contains markup like a href=page.txt download=A.txt if the resource at audio.wav responds with either 1) Content-Disposition: inline

Re: [whatwg] Mutation Observer arguments format

2013-03-18 Thread Alex Russell
On Mar 15, 2013 6:58 PM, Ryosuke Niwa rn...@apple.com wrote: On Mar 14, 2013, at 12:49 PM, Alex Russell slightly...@google.com wrote: The old API is confusing. We can do better, so we should. I actually find the proposed syntax more confusing than the old syntax. For starters, I don't

[whatwg] Hide placeholder on input controls on focus

2013-03-18 Thread Markus Ernst
Hello Whatwg On several occasions I encountered that users got confused by the placeholders on input fields. In a doodle.com survey last week, 2 out of 5 people answered me via e-mail that they were not able to fill in their names in the name field, because they tried to highlight and delete

Re: [whatwg] Hide placeholder on input controls on focus

2013-03-18 Thread James Ross
Date: Mon, 18 Mar 2013 10:31:56 +0100 From: derer...@gmx.ch To: whatwg@lists.whatwg.org Subject: [whatwg] Hide placeholder on input controls on focus A short browser comparison shows: - Firefox and Chrome hide the placeholder when the user starts typing - Opera and Safari hide it when the

Re: [whatwg] Hide placeholder on input controls on focus

2013-03-18 Thread Boris Zbarsky
On 3/18/13 5:31 AM, Markus Ernst wrote: - Opera and Safari hide it when the field gets focus The behavior of Safari here is platform-dependent or possibly version-dependent. Safari 6 on Mac doesn't hide the placeholder until you start typing. ...when the element's value is the empty

Re: [whatwg] Fetch: crossorigin=anonymous and XMLHttpRequest

2013-03-18 Thread Anne van Kesteren
On Sun, Mar 17, 2013 at 5:25 PM, Jonas Sicking jo...@sicking.cc wrote: On Sun, Mar 17, 2013 at 2:16 AM, Anne van Kesteren ann...@annevk.nl wrote: I tried to address both by pointing to UMP which wants both a) and b). The alternative would be to use iframe sandbox=allow-scripts which exhibits

Re: [whatwg] Priority between a download and content-disposition

2013-03-18 Thread Bjoern Hoehrmann
* Jonas Sicking wrote: It's currently unclear what to do if a page contains markup like a href=page.txt download=A.txt if the resource at audio.wav responds with either 1) Content-Disposition: inline 2) Content-Disposition: inline; filename=B.txt 3) Content-Disposition: attachment; filename=B.txt

Re: [whatwg] Priority between a download and content-disposition

2013-03-18 Thread Glenn Maynard
On Mon, Mar 18, 2013 at 7:50 AM, Bjoern Hoehrmann derhoe...@gmx.netwrote: However I don't think we can expect people to indicate Content-Disposition: inline in order to protect resources. Nor do I think that simply using a different filename is going to meaningfully protect downloaded

Re: [whatwg] Priority between a download and content-disposition

2013-03-18 Thread Michal Zalewski
I think I raised this on several other threads; in essence, countless websites permit users to upload constrained file formats, such as JPEGs or GIFs used as profile images. With content sniffing attacks, we've already seen that it's relatively trivial for attacker to make files that are both

Re: [whatwg] Priority between a download and content-disposition

2013-03-18 Thread Glenn Maynard
On Mon, Mar 18, 2013 at 9:30 AM, Michal Zalewski lcam...@coredump.cxwrote: I think I raised this on several other threads; in essence, countless websites permit users to upload constrained file formats, such as JPEGs or GIFs used as profile images. With content sniffing attacks, we've already

Re: [whatwg] Hide placeholder on input controls on focus

2013-03-18 Thread Tim Streater
On 18 Mar 2013 at 12:27, Boris Zbarsky bzbar...@mit.edu wrote: On 3/18/13 5:31 AM, Markus Ernst wrote: - Opera and Safari hide it when the field gets focus The behavior of Safari here is platform-dependent or possibly version-dependent. Safari 6 on Mac doesn't hide the placeholder until

Re: [whatwg] Priority between a download and content-disposition

2013-03-18 Thread Michal Zalewski
Downloads are associated with the site the link is on, not the domain the resource is served from. If users click a download link and the file comes from s3.amazonaws.com, they didn't come from Amazon; they came from your page. I don't believe that's the case in most browser UIs. In fact, I

Re: [whatwg] Priority between a download and content-disposition

2013-03-18 Thread James Ross
From: lcam...@coredump.cx Date: Mon, 18 Mar 2013 10:00:40 -0700 To: gl...@zewt.org CC: wha...@whatwg.org; derhoe...@gmx.net; jo...@sicking.cc Subject: Re: [whatwg] Priority between a download and content-disposition Downloads are associated with the site the link is on, not the domain the

Re: [whatwg] Hide placeholder on input controls on focus

2013-03-18 Thread Markus Ernst
Am 18.03.2013 13:27 schrieb Boris Zbarsky: On 3/18/13 5:31 AM, Markus Ernst wrote: - Opera and Safari hide it when the field gets focus The behavior of Safari here is platform-dependent or possibly version-dependent. Safari 6 on Mac doesn't hide the placeholder until you start typing.

Re: [whatwg] Fetch: crossorigin=anonymous and XMLHttpRequest

2013-03-18 Thread Jonas Sicking
On Mon, Mar 18, 2013 at 5:43 AM, Anne van Kesteren ann...@annevk.nl wrote: On Sun, Mar 17, 2013 at 5:25 PM, Jonas Sicking jo...@sicking.cc wrote: On Sun, Mar 17, 2013 at 2:16 AM, Anne van Kesteren ann...@annevk.nl wrote: I tried to address both by pointing to UMP which wants both a) and b).

Re: [whatwg] Priority between a download and content-disposition

2013-03-18 Thread Glenn Maynard
On Mon, Mar 18, 2013 at 12:00 PM, Michal Zalewski lcam...@coredump.cxwrote: Downloads are associated with the site the link is on, not the domain the resource is served from. If users click a download link and the file comes from s3.amazonaws.com, they didn't come from Amazon; they came

Re: [whatwg] Hide placeholder on input controls on focus

2013-03-18 Thread Glenn Maynard
On Mon, Mar 18, 2013 at 12:51 PM, Markus Ernst derer...@gmx.ch wrote: A reason for the behaviour of Firefox and Chrome may be that some user may not have read the placeholder text before focusing the control. Anyway, if this behavior lets some users think they can't even fill in the form,

[whatwg] Media queries for multichannel audio ?

2013-03-18 Thread Mark Watson
Is there anything like this ? I'd like a media element to be able to select the multi-channel version of some audio only when the device will output multiple channels and select a stereo version otherwise (rather than downmixing). This would save network bandwidth as well as providing better

[whatwg] [CSSWG][css-counter-styles] Updated WD of CSS Counter Styles

2013-03-18 Thread fantasai
The CSS WG has published an updated Working Draft of the CSS Counter Style Module Level 3: http://www.w3.org/TR/css-counter-styles-3/ This spec documents the existing CSS 2.1 and 2.0 counter styles in better detail, adds a handful of CJK and other list styles, and adds an @counter-style

Re: [whatwg] Media queries for multichannel audio ?

2013-03-18 Thread fantasai
On 03/18/2013 05:18 PM, Mark Watson wrote: Is there anything like this ? I'd like a media element to be able to select the multi-channel version of some audio only when the device will output multiple channels and select a stereo version otherwise (rather than downmixing). This would save