Re: [whatwg] preload=metadata elements don't necessarily fire canplay

2015-07-06 Thread Philip Jägenstedt
On Wed, Jun 10, 2015 at 6:53 AM, Robert O'Callahan rob...@ocallahan.org wrote: In Gecko, video preload=metadata doesn't fire canplay. This is allowed (encouraged, even) by the spec, since we can efficiently satisfy preload=metadata by stopping decoding after one frame, and if we only decode

Re: [whatwg] Proposal: Two changes to iframe@sandbox

2015-07-06 Thread Mike West
On Tue, Jun 23, 2015 at 11:14 AM, Mike West mk...@google.com wrote: After some conversation with bz (CC'd), I've slightly formalized the description of the feature at https://wiki.whatwg.org/wiki/Iframe_sandbox_improvments. This is something that I'd like to ship in Chrome in the somewhat

Re: [whatwg] preload=none and HTMLMediaElement.load()

2015-07-06 Thread Philip Jägenstedt
On Wed, Jun 17, 2015 at 2:55 AM, Brian Birtles bbirt...@mozilla.com wrote: The HTMLMediaElement.load()[1] method currently cancels playback of the current resource and runs the resource selection algorithm[2] (and in turn the resource fetch algorithm[3]). When preload=none, however, the

Re: [whatwg] preload=metadata elements don't necessarily fire canplay

2015-07-06 Thread Robert O'Callahan
On Mon, Jul 6, 2015 at 11:17 PM, Philip Jägenstedt phil...@opera.com wrote: On Wed, Jun 10, 2015 at 6:53 AM, Robert O'Callahan rob...@ocallahan.org wrote: In Gecko, video preload=metadata doesn't fire canplay. This is allowed (encouraged, even) by the spec, since we can efficiently satisfy

Re: [whatwg] preload=metadata elements don't necessarily fire canplay

2015-07-06 Thread Philip Jägenstedt
On Mon, Jul 6, 2015 at 2:19 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Mon, Jul 6, 2015 at 11:17 PM, Philip Jägenstedt phil...@opera.com wrote: On Wed, Jun 10, 2015 at 6:53 AM, Robert O'Callahan rob...@ocallahan.org wrote: In Gecko, video preload=metadata doesn't fire canplay.

Re: [whatwg] Proposal: Two changes to iframe@sandbox

2015-07-06 Thread Boris Zbarsky
On 7/6/15 5:47 AM, Mike West wrote: Boris, I think this is consistent with your suggestions in https://groups.google.com/a/chromium.org/d/msg/blink-dev/wXbgxLu63Fo/F6WGG03FafAJ and https://groups.google.com/a/chromium.org/d/msg/blink-dev/wXbgxLu63Fo/pZZ0MXzpbKAJ. Can you live with this

Re: [whatwg] Proposal: Two changes to iframe@sandbox

2015-07-06 Thread Mike West
On Mon, Jul 6, 2015 at 9:14 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 7/6/15 5:47 AM, Mike West wrote: Boris, I think this is consistent with your suggestions in https://groups.google.com/a/chromium.org/d/msg/blink-dev/wXbgxLu63Fo/F6WGG03FafAJ and

Re: [whatwg] Site-Wide Heading Element

2015-07-06 Thread Elliott Sprehn
On Wed, Jun 24, 2015 at 3:30 PM, Barry Smith bearzt...@live.com wrote: ... When I build a website that is to have more than one page, and I want the banner to be the same across all pages, I use the header element with a javascript file embedded inside, like this: header id=banner

Re: [whatwg] preload=metadata elements don't necessarily fire canplay

2015-07-06 Thread Robert O'Callahan
On Tue, Jul 7, 2015 at 1:44 AM, Philip Jägenstedt phil...@opera.com wrote: On Mon, Jul 6, 2015 at 2:19 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Mon, Jul 6, 2015 at 11:17 PM, Philip Jägenstedt phil...@opera.com wrote: On Wed, Jun 10, 2015 at 6:53 AM, Robert O'Callahan