Re: [whatwg] Making cross-origin iframe seamless= (partly) usable

2012-12-05 Thread Jonas Sicking
On Mon, Dec 3, 2012 at 9:57 AM, Adam Barth w...@adambarth.com wrote: On Fri, Nov 30, 2012 at 6:57 PM, Ian Hickson i...@hixie.ch wrote: On Sat, 26 May 2012, Adam Barth wrote: [CSP] CSP doesn't seem to include any features that would let you limit who is allowed to iframe you, so I don't

Re: [whatwg] seamless iframes and event propagation

2012-12-05 Thread Anne van Kesteren
On Wed, Dec 5, 2012 at 1:02 AM, Ian Hickson i...@hixie.ch wrote: I've done the HTML side of this (a paragraph), but the heavy lifting for this will be in DOM. Anne and I spoke about this earlier in #whatwg if you want to see the discussions. Some pointers to the logs can be found in the

Re: [whatwg] seamless iframes and event propagation

2012-12-05 Thread Hayato Ito
Shadow DOM's event retargeting in WebKit uses one Event object for every shadow trees. When crossing shadow boundaries, an Event object's target (or relatedTarget) is set to the appropriate one, but the event object itself is reused. FYI. I've tried to implement event retargeting for seamless

Re: [whatwg] seamless iframes and event propagation

2012-12-05 Thread Anne van Kesteren
On Wed, Dec 5, 2012 at 11:54 AM, Hayato Ito hay...@chromium.org wrote: Shadow DOM's event retargeting in WebKit uses one Event object for every shadow trees. When crossing shadow boundaries, an Event object's target (or relatedTarget) is set to the appropriate one, but the event object itself

Re: [whatwg] seamless iframes and event propagation

2012-12-05 Thread Hayato Ito
On Wed, Dec 5, 2012 at 8:16 PM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Dec 5, 2012 at 11:54 AM, Hayato Ito hay...@chromium.org wrote: Shadow DOM's event retargeting in WebKit uses one Event object for every shadow trees. When crossing shadow boundaries, an Event object's target (or

Re: [whatwg] seamless iframes and event propagation

2012-12-05 Thread Anne van Kesteren
On Wed, Dec 5, 2012 at 12:37 PM, Hayato Ito hay...@chromium.org wrote: Some kinds of events should be always stopped at the shadow boundaries. See http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#events-that-are-always-stopped It's not entirely clear to me what that

Re: [whatwg] Making cross-origin iframe seamless= (partly) usable

2012-12-05 Thread Markus Ernst
Am 05.12.2012 10:45 schrieb Jonas Sicking: I hear no end of people arguing that HTTP headers are too hard for people to use. Could we make these settable through meta elements as well as, or instead of, using headers. I am one of those authors with limited technical background. IMHO the

[whatwg] Make the files attribute of the input element writable

2012-12-05 Thread Victor Costan
Dear WHATWG, There was a thread on this mailing list discussing making it possible to set the file data behind an input type=file element. http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-May/thread.html#36140 The thread seems to have died down due to insufficient applications for the

Re: [whatwg] seamless iframes and event propagation

2012-12-05 Thread Dimitri Glazkov
On Wed, Dec 5, 2012 at 3:49 AM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Dec 5, 2012 at 12:37 PM, Hayato Ito hay...@chromium.org wrote: Some kinds of events should be always stopped at the shadow boundaries. See

Re: [whatwg] Making cross-origin iframe seamless= (partly) usable

2012-12-05 Thread Ian Hickson
On Wed, 5 Dec 2012, Jonas Sicking wrote: It seems to me like the best solution is to have a new HTTP header, with the four following values being allowed: Seamless-Options: allow-shrink-wrap Seamless-Options: allow-styling Seamless-Options: allow-shrink-wrap allow-styling

Re: [whatwg] Make the files attribute of the input element writable

2012-12-05 Thread Ian Hickson
On Wed, 5 Dec 2012, Victor Costan wrote: There was a thread on this mailing list discussing making it possible to set the file data behind an input type=file element. http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-May/thread.html#36140 The thread seems to have died down due to

Re: [whatwg] seamless iframes and event propagation

2012-12-05 Thread Anne van Kesteren
On Wed, Dec 5, 2012 at 4:38 PM, Dimitri Glazkov dglaz...@chromium.org wrote: Yes, the intent is that in the the events from nodes, distributed to insertion points should feel as if there wasn't any shadow tree around them. Right, but if img is inside the shadow tree (rather than distributed

Re: [whatwg] Proposal: allow itemid to record multiple identifiers for an item

2012-12-05 Thread Ed Summers
Ian, Thanks very much for the guidance re: using meta and link. I like both solutions quite a bit better than leaning more on itemid for this use case. Was the id itemprop you used in your examples a hypothetical property that would need to be defined at schema.org or elsewhere, or did you find

Re: [whatwg] Proposal: allow itemid to record multiple identifiers for an item

2012-12-05 Thread Ian Hickson
On Wed, 5 Dec 2012, Ed Summers wrote: Was the id itemprop you used in your examples a hypothetical property that would need to be defined at schema.org or elsewhere, or did you find it defined already? Hypothetical. In the schema.org vocabulary, the existing url property could be used,

Re: [whatwg] [mimesniff] Sniffing archives

2012-12-05 Thread Gordon P. Hemsley
(It seems I somehow managed to not send this to the list the first time around. Addendum included.) On Tue, Dec 4, 2012 at 2:40 AM, Adam Barth w...@adambarth.com wrote: On Mon, Dec 3, 2012 at 12:39 PM, Julian Reschke julian.resc...@gmx.de wrote: On 2012-11-29 20:25, Adam Barth wrote: These are

Re: [whatwg] seamless iframes and event propagation

2012-12-05 Thread Ian Hickson
On Wed, 5 Dec 2012, Anne van Kesteren wrote: Ian, for HTML that would allow easily dealing with the load exception on Window too. The load exception is weirder than that. It's target is different than the element that ever gets the event. Unless you mean the other exception, in which case,

[whatwg] Paragraph with overlapping fallback content

2012-12-05 Thread Cory Sand
The Paragraphs section (3.2.5.3) gives an interesting example where paragraphs can overlap when using an element, like object, that defines fallback content. To avoid the confusion of mixing the fallback paragraphs with the sentences of the surrounding paragraph in the case where the object

Re: [whatwg] 'datetime-local' and 'datetime' comments

2012-12-05 Thread TAMURA, Kent
On Thu, Nov 22, 2012 at 2:15 PM, Ian Hickson i...@hixie.ch wrote: What do you think would be a good UI? Does something that would allow selecting a date/time in the current user's TZ and then have the information sent to the server in UTC would be a good UI? That would probably be a