Re: [whatwg] Iframe Sandbox Attribute - allow-plugins?

2011-07-14 Thread Jonas Sicking
On Wed, Jul 13, 2011 at 9:49 PM, Anne van Kesteren ann...@opera.com wrote: On Wed, 13 Jul 2011 23:13:05 +0200, Julian Reschke julian.resc...@gmx.de wrote: Yes, but we can *define* the flag in HTML and write down what it means with respect to plugin APIs. It seems much better to wait

Re: [whatwg] Iframe Sandbox Attribute - allow-plugins?

2011-07-14 Thread Julian Reschke
On 2011-07-14 08:22, Jonas Sicking wrote: On Wed, Jul 13, 2011 at 9:49 PM, Anne van Kesterenann...@opera.com wrote: On Wed, 13 Jul 2011 23:13:05 +0200, Julian Reschkejulian.resc...@gmx.de wrote: Yes, but we can *define* the flag in HTML and write down what it means with respect to plugin

Re: [whatwg] PeerConnection, MediaStream, getUserMedia(), and other feedback

2011-07-14 Thread Shwetank Dixit
On Thu, 14 Jul 2011 04:09:40 +0530, Ian Hickson i...@hixie.ch wrote: Another question is flash. As far as I have seen, there seems to be no option to specify whether the camera needs to use flash or not. Is this decision left up to the device? (If someone is making an app which is just

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Oli Studholme
Hi Bjartur, On Tue, Jul 12, 2011 at 8:28 PM, Bjartur Thorlacius svartma...@gmail.com wrote: Þann þri 12.júl 2011 09:15, skrifaði Oli Studholme: Datetimes will usually be presented in a localized format to humans. I think at most user agents will offer users the option to localise datetime

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Karl Dubost
Le 8 juil. 2011 à 07:20, Jeremy Keith a écrit : 1) Oli has shown the real-world use cases for attribution *within* blockquotes. using that for years (almost every day), an example http://www.la-grange.net/2011/06/05/fruit blockquote cite=urn:isbn:978-2-07-07533-7 pSur un pétale de lotus,

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Jukka K. Korpela
14.07.2011 13:49, Karl Dubost wrote: using that for years (almost every day), an example http://www.la-grange.net/2011/06/05/fruit blockquote cite=urn:isbn:978-2-07-07533-7 pSur un pétale de lotus, j'écrivis ces quelques vers :/p p«qMême si l'on vient me chercherbr/ Comment,

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Bjartur Thorlacius
Þann fim 14.júl 2011 09:38, skrifaði Oli Studholme: in graphic design a footer contains supplementary information about the content it follows. the spec initially disallowed ‘fat footers’, but the naming and common usage would have led to people using them for fat footers regardless of the spec.

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Bjartur Thorlacius
Þann fim 14.júl 2011 11:09, skrifaði Jukka K. Korpela: 14.07.2011 13:49, Karl Dubost wrote: blockquote cite=urn:isbn:978-2-07-07533-7 pSur un pétale de lotus, j'écrivis ces quelques vers :/p p«qMême si l'on vient me chercherbr/ Comment, abandonnant la roséebr/ De pareil lotus,br/

Re: [whatwg] PeerConnection, MediaStream, getUserMedia(), and other feedback

2011-07-14 Thread timeless
I'd expect a web app to have no idea about device camera specifications and thus to not be able to properly specify a flash duration. I don't see how such a thing is valuable. If a user is in a movie theater, or a museum, it's quite likely they won't notice a web app is forcing a flash. Let the

Re: [whatwg] Iframe Sandbox Attribute - allow-plugins?

2011-07-14 Thread Jonas Sicking
On Thu, Jul 14, 2011 at 1:16 AM, Julian Reschke julian.resc...@gmx.de wrote: On 2011-07-14 08:22, Jonas Sicking wrote: On Wed, Jul 13, 2011 at 9:49 PM, Anne van Kesterenann...@opera.com  wrote: On Wed, 13 Jul 2011 23:13:05 +0200, Julian Reschkejulian.resc...@gmx.de  wrote: Yes, but we can

Re: [whatwg] Proposal for a MediaSource API that allows sending media data to a HTMLMediaElement

2011-07-14 Thread Aaron Colwell
On Wed, Jul 13, 2011 at 8:00 PM, Robert O'Callahan rob...@ocallahan.orgwrote: On Thu, Jul 14, 2011 at 4:35 AM, Aaron Colwell acolw...@google.comwrote: I am open to suggestions. My intent was that the browser would not attempt to cache any data passed into append(). It would just demux the

[whatwg] a rel=attachment

2011-07-14 Thread イアンフェッティ
Many websites wish to offer a file for download, even though it could potentially be viewed inline (take images, PDFs, or word documents as an example). Traditionally the only way to achieve this is to set a content-disposition header. *However, sometimes it is not possible for the page author to

[whatwg] Microdata - Handling the case where a string is upgraded to an object

2011-07-14 Thread Tab Atkins Jr.
Some IRC discussion this morning concerned the scenario where an API starts by exposing a property as a string, but later wants to change it to be a complex object. This appears to be a reasonably common scenario. For example, a vocabulary with a name property may start with it being a string,

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Kevin Marks
There is another common pattern, seen in blogging a lot, of putting the citation at the top eg As cite class=vcarda href=http://www.gyford.com/phil/; class=url rel=acquaintance met colleagueabbr title=Phil Gyford class=fnPhil/abbr/a/cite wrote about the a

Re: [whatwg] a rel=attachment

2011-07-14 Thread イアンフェッティ
On Thu, Jul 14, 2011 at 12:03 PM, Karl Dubost ka...@opera.com wrote: Le 14 juil. 2011 à 14:45, Ian Fette (イアンフェッティ) a écrit : Many websites wish to offer a file for download, even though it could potentially be viewed inline (take images, PDFs, or word documents as an example). Which

Re: [whatwg] a rel=attachment

2011-07-14 Thread イアンフェッティ
2011/7/14 Ian Fette (イアンフェッティ) ife...@google.com Many websites wish to offer a file for download, even though it could potentially be viewed inline (take images, PDFs, or word documents as an example). Traditionally the only way to achieve this is to set a content-disposition header.

Re: [whatwg] a rel=attachment

2011-07-14 Thread Karl Dubost
Le 14 juil. 2011 à 14:45, Ian Fette (イアンフェッティ) a écrit : Many websites wish to offer a file for download, even though it could potentially be viewed inline (take images, PDFs, or word documents as an example). Which current websites? it seems like adding a rel attribute to the a tag would

Re: [whatwg] a rel=attachment

2011-07-14 Thread イアンフェッティ
2011/7/14 Andy Mabbett a...@pigsonthewing.org.uk 2011/7/14 Ian Fette (イアンフェッティ) ife...@google.com: Many websites wish to offer a file for download, even though it could potentially be viewed inline (take images, PDFs, or word documents as an example). Traditionally the only way to achieve

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Bjartur Thorlacius
On 7/14/11, Kevin Marks kevinma...@gmail.com wrote: There is another common pattern, seen in blogging a lot, of putting the citation at the top eg As cite class=vcarda href=http://www.gyford.com/phil/; class=url rel=acquaintance met colleagueabbr title=Phil Gyford class=fnPhil/abbr/a/cite

Re: [whatwg] a rel=attachment

2011-07-14 Thread Bjartur Thorlacius
On 7/14/11, Ian Fette (イアンフェッティ) ife...@google.com wrote: Many websites wish to offer a file for download, even though it could potentially be viewed inline (take images, PDFs, or word documents as an example). Traditionally the only way to achieve this is to set a content-disposition header.

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Karl Dubost
Le 14 juil. 2011 à 14:59, Kevin Marks a écrit : If I was writing a detector for this pattern, a followed by a colon and blockquote would do it pretty reliably... yup unfortunately there are also many cases where you have more names in an introducing paragraph. It is happening when I'm

Re: [whatwg] a rel=attachment

2011-07-14 Thread Glenn Maynard
2011/7/14 Ian Fette (イアンフェッティ) ife...@google.com Many websites wish to offer a file for download, even though it could potentially be viewed inline (take images, PDFs, or word documents as an example). Traditionally the only way to achieve this is to set a content-disposition header.

[whatwg] proposal: extend time to markup durations

2011-07-14 Thread Tantek Çelik
Some in the microformats community have been making good use of the time element, e.g. for publishing hCalendar, and implementing consuming/converting hCalendar [1] with good success. It would be great if the time element could support expressing durations as well for the use cases as needed by

Re: [whatwg] a rel=attachment

2011-07-14 Thread イアンフェッティ
The download=filename seems like a nice proposal (assuming that the filename is optional, and if not specified it just takes whatever the name would otherwise be). It also neatly solves the filename issue without cluttering the a tag with tons of options. On Thu, Jul 14, 2011 at 12:36 PM, Glenn

Re: [whatwg] a rel=attachment

2011-07-14 Thread Darin Fisher
On Thu, Jul 14, 2011 at 12:36 PM, Glenn Maynard gl...@zewt.org wrote: 2011/7/14 Ian Fette (イアンフェッティ) ife...@google.com Many websites wish to offer a file for download, even though it could potentially be viewed inline (take images, PDFs, or word documents as an example). Traditionally the

Re: [whatwg] a rel=attachment

2011-07-14 Thread Tantek Çelik
2011/7/14 Darin Fisher da...@chromium.org: On Thu, Jul 14, 2011 at 12:36 PM, Glenn Maynard gl...@zewt.org wrote: 2011/7/14 Ian Fette (イアンフェッティ) ife...@google.com Many websites wish to offer a file for download, even though it could potentially be viewed inline (take images, PDFs, or word

Re: [whatwg] a rel=attachment

2011-07-14 Thread Darin Fisher
On Thu, Jul 14, 2011 at 1:32 PM, Tantek Çelik tan...@cs.stanford.eduwrote: 2011/7/14 Darin Fisher da...@chromium.org: On Thu, Jul 14, 2011 at 12:36 PM, Glenn Maynard gl...@zewt.org wrote: 2011/7/14 Ian Fette (イアンフェッティ) ife...@google.com Many websites wish to offer a file for download,

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Tantek Çelik
In agreement with Jeremy, I too have found the blockquote/q cite attribute to be nearly as ignored as the longdesc attribute, despite having conducted talks and written tutorials about how to use the cite= attribute (makes me think that the non-visible-effect-URL attributes on elements should be

Re: [whatwg] a rel=attachment

2011-07-14 Thread Tantek Çelik
On Thu, Jul 14, 2011 at 13:46, Darin Fisher da...@chromium.org wrote: On Thu, Jul 14, 2011 at 1:32 PM, Tantek Çelik tan...@cs.stanford.edu wrote: 2011/7/14 Darin Fisher da...@chromium.org: On Thu, Jul 14, 2011 at 12:36 PM, Glenn Maynard gl...@zewt.org wrote: 2011/7/14 Ian Fette

Re: [whatwg] a rel=attachment

2011-07-14 Thread Glenn Maynard
2011/7/14 Darin Fisher da...@chromium.org I know that there is also a proposal to add a FileSaver API. I like that as well, _but_ it is very nice to be able to simply decorate an anchor tag. In many cases, that will be a lot simpler for developers than using JavaScript to construct a

Re: [whatwg] a rel=attachment

2011-07-14 Thread Darin Fisher
On Thu, Jul 14, 2011 at 1:53 PM, Glenn Maynard gl...@zewt.org wrote: 2011/7/14 Darin Fisher da...@chromium.org I know that there is also a proposal to add a FileSaver API. I like that as well, _but_ it is very nice to be able to simply decorate an anchor tag. In many cases, that will be a

Re: [whatwg] a rel=attachment

2011-07-14 Thread Tab Atkins Jr.
On Thu, Jul 14, 2011 at 1:32 PM, Tantek Çelik tan...@cs.stanford.edu wrote: Indeed, and has been pointed out, already specified (since 2005) and implemented as well for HTML: http://microformats.org/wiki/rel-enclosure re-using the enclosure term from the Atom format (thus minimal

Re: [whatwg] The blockquote element spec vs common quoting practices

2011-07-14 Thread Karl Dubost
Le 14 juil. 2011 à 16:48, Tantek Çelik a écrit : cite= attribute (makes me think that the non-visible-effect-URL attributes on elements Yup. :) and there are ways to improve what the browser doesn't do :) (though I really think the browser should) I made a prototype for this

Re: [whatwg] a rel=attachment

2011-07-14 Thread Karl Dubost
Le 14 juil. 2011 à 14:45, Ian Fette (イアンフェッティ) a écrit : a rel=attachment href=blah.pdf would indicate that the browser should treat this link as if the response came with a content-disposition: attachment header, and offer to download/save the file for the user. A random thought just occured

Re: [whatwg] a rel=attachment

2011-07-14 Thread Tab Atkins Jr.
On Thu, Jul 14, 2011 at 1:52 PM, Tantek Çelik tan...@cs.stanford.edu wrote: Also the empty download attribute doesn't work as it is supposed to be equivalent to download=download which would simply name the file download which is unlikely what author or user want. This is incorrect. If you

Re: [whatwg] proposal: extend time to markup durations

2011-07-14 Thread Ian Hickson
On Thu, 14 Jul 2011, Tantek �~Gelik wrote: Some in the microformats community have been making good use of the time element, e.g. for publishing hCalendar, and implementing consuming/converting hCalendar [1] with good success. [1] http://microformats.org/wiki/h2vx#HTML5_support It would

Re: [whatwg] a rel=attachment

2011-07-14 Thread Tab Atkins Jr.
On Thu, Jul 14, 2011 at 1:53 PM, Glenn Maynard gl...@zewt.org wrote: That reminds me of something download=filename can't do: assign a filename while leaving it inline, so save as and other operations can have a specified filename.  That would require two separate properties.  One case I've

Re: [whatwg] proposal: extend time to markup durations

2011-07-14 Thread Tab Atkins Jr.
On Thu, Jul 14, 2011 at 2:36 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 14 Jul 2011, Tantek Ã~Gelik wrote: Some in the microformats community have been making good use of the time element, e.g. for publishing hCalendar, and implementing consuming/converting hCalendar [1] with good success.

Re: [whatwg] a rel=attachment

2011-07-14 Thread Bjartur Thorlacius
On 7/14/11, Karl Dubost ka...@opera.com wrote: what about adding a href=foo.pdf target=_downloadSave a Tree, Eat a beaver/a This seems like the best solution to me. A filename hint has two use cases: a suggestion for a local identifier, and providing a filename extension for systems that use

Re: [whatwg] Styling details

2011-07-14 Thread Ian Hickson
(This isn't the final reply on this thread, but I thought I should give a heads-up as to the general direction I am expecting us to go in here.) On Wed, 6 Apr 2011, Lachlan Hunt wrote: We've been experimenting with the styling of the details element, trying to figure out the most sensible

Re: [whatwg] a rel=attachment

2011-07-14 Thread Glenn Maynard
On Thu, Jul 14, 2011 at 5:44 PM, Tab Atkins Jr. jackalm...@gmail.comwrote: Optimizing for the user choosing to right-click=Save seems like a much more niche case than linking to a file that should be downloaded. Plus, you could address it by just wrapping the img in an a: a

Re: [whatwg] Styling details

2011-07-14 Thread Tantek Çelik
On Thu, Jul 14, 2011 at 15:21, Ian Hickson i...@hixie.ch wrote: (This isn't the final reply on this thread, but I thought I should give a heads-up as to the general direction I am expecting us to go in here.) On Wed, 6 Apr 2011, Lachlan Hunt wrote:   We've been experimenting with the