Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-07-11 Thread Mikko Rantalainen
Boris Zbarsky, 2013-07-03 17:50 (Europe/Helsinki): On 7/3/13 3:58 AM, Mikko Rantalainen wrote: Boris Zbarsky, 2013-06-29 05:02 (Europe/Helsinki): On 6/28/13 6:51 PM, Tab Atkins Jr. wrote: querySelector is simply a more powerful querying function than the old DOM methods, And somewhat slower

Re: [whatwg] Resource loading in browsing context-less Documents

2013-07-11 Thread Ian Hickson
On Wed, 19 Dec 2012, Boris Zbarsky wrote: > On 12/19/12 12:55 PM, Ian Hickson wrote: > > On Wed, 19 Dec 2012, Boris Zbarsky wrote: > > > On 12/19/12 12:37 PM, Ian Hickson wrote: > > > > Yes, just not an active one. > > > > > > OK. I don't think we want to activate links in unloaded documents, > >

Re: [whatwg] Script preloading

2013-07-11 Thread Bruno Racineux
On browser preloading: There seems to an inherent conflict between 'indiscriminate' Pre-parsers/ PreloadScanner and "responsive design" for mobile. Responsive designs mostly implies that everything needed for a full screen desktop is provided in markup to all devices. Isn't the Pre-parsers/Prel

[whatwg] Default draggable elements

2013-07-11 Thread Daniel Cheng
Regarding elements that are draggable by default: The spec says: > img elements and a elements with an href attribute have their draggable attribute set to true by default. I've noticed that in IE and Firefox, an tag embedding an image also defaults to draggable. It does not default to draggable

Re: [whatwg] Script preloading

2013-07-11 Thread Kyle Simpson
> I am interested to see how the above use-cases would be met in your > counter proposal(s) to see if it would be simpler/faster. If LabJS is > a requirement, it must be factored in as a unit of complexity and > load-step. > > Please do this rather than declare anything to be insufficient without

Re: [whatwg] Script preloading

2013-07-11 Thread Kyle Simpson
> How is this any different from the case today when

Re: [whatwg] Script preloading

2013-07-11 Thread Alex Russell
On Thu, Jul 11, 2013 at 9:41 PM, Kyle Simpson wrote: > I'm still going to respond, in detail, with code comparisons, to Jake's > suggestions that the other proposals besides mine handle all my stated > use-cases. > > However, before I do that, just to document for posterity, I just recalled > ano

Re: [whatwg] Script preloading

2013-07-11 Thread Kyle Simpson
I'm still going to respond, in detail, with code comparisons, to Jake's suggestions that the other proposals besides mine handle all my stated use-cases. However, before I do that, just to document for posterity, I just recalled another use-case which is a feature very frequently requested of L

Re: [whatwg] Adding features needed for WebGL to ImageBitmap

2013-07-11 Thread Kenneth Russell
On Thu, Jul 11, 2013 at 8:29 AM, Justin Novosad wrote: > > > On Wed, Jul 10, 2013 at 9:37 PM, Rik Cabanier wrote: >> >> On Wed, Jul 10, 2013 at 5:07 PM, Ian Hickson wrote: >> >> > On Wed, 10 Jul 2013, Kenneth Russell wrote: >> > > >> > > ImageBitmap can cleanly address all of the desired use cas

Re: [whatwg] iframe sandbox and top navigation

2013-07-11 Thread Ian Hickson
On Wed, 28 Nov 2012, Ian Melven wrote: > > while working on https://bugzilla.mozilla.org/show_bug.cgi?id=785310 > (block setting window.top.location from a document sandboxed without > 'allow-top-navigation') and discussing the correct behavior with Bobby > Holley, I found some interesting diff

Re: [whatwg] Adding features needed for WebGL to ImageBitmap

2013-07-11 Thread Rik Cabanier
On Thu, Jul 11, 2013 at 8:29 AM, Justin Novosad wrote: > > > On Wed, Jul 10, 2013 at 9:37 PM, Rik Cabanier wrote: > >> On Wed, Jul 10, 2013 at 5:07 PM, Ian Hickson wrote: >> >> > On Wed, 10 Jul 2013, Kenneth Russell wrote: >> > > >> > > ImageBitmap can cleanly address all of the desired use cas

Re: [whatwg] Adding features needed for WebGL to ImageBitmap

2013-07-11 Thread Justin Novosad
On Wed, Jul 10, 2013 at 9:37 PM, Rik Cabanier wrote: > On Wed, Jul 10, 2013 at 5:07 PM, Ian Hickson wrote: > > > On Wed, 10 Jul 2013, Kenneth Russell wrote: > > > > > > ImageBitmap can cleanly address all of the desired use cases simply by > > > adding an optional dictionary of options. > > > >

Re: [whatwg] Script preloading

2013-07-11 Thread Alex Russell
Here's the Plus URL without the googler cruft: https://plus.google.com/u/1/+IlyaGrigorik/posts/8AwRUE7wqAE On Thu, Jul 11, 2013 at 3:47 PM, Jake Archibald wrote: > On 10 July 2013 17:37, Jake Archibald wrote: > > On 10 July 2013 16:39, Kyle Simpson wrote: > >> I personally don't care abou

Re: [whatwg] [URL] Resolving against the base of the current page

2013-07-11 Thread Jake Archibald
On 11 July 2013 15:59, Anne van Kesteren wrote: > On Thu, Jul 11, 2013 at 7:56 AM, Jake Archibald > wrote: >> http://url.spec.whatwg.org/ >> >> How would I create a URL relative to the page, but taking into account >> (and anything else that may affect relative urls on the page)? > > document.b

Re: [whatwg] [URL] Resolving against the base of the current page

2013-07-11 Thread Anne van Kesteren
On Thu, Jul 11, 2013 at 7:56 AM, Jake Archibald wrote: > http://url.spec.whatwg.org/ > > How would I create a URL relative to the page, but taking into account > (and anything else that may affect relative urls on the page)? document.baseURI? > It feels like the 2nd constructor parameter shoul

Re: [whatwg] Script preloading

2013-07-11 Thread Jake Archibald
On 10 July 2013 17:37, Jake Archibald wrote: > On 10 July 2013 16:39, Kyle Simpson wrote: >> I personally don't care about scripts being discoverable by pre-parsers. I >> have done testing and am not convinced that something appearing earlier (in >> markup) leads to better performance than allowi

Re: [whatwg] Script preloading

2013-07-11 Thread Jake Archibald
On Wednesday, 10 July 2013, Kyle Simpson wrote: > > You know, I keep relying on the fact that the body of work on this topic for > almost 3 years … I've spent more time over the last 4+ years obsessing on > script loading than any other developer … I am saying the same things I've > been saying

[whatwg] [URL] Resolving against the base of the current page

2013-07-11 Thread Jake Archibald
http://url.spec.whatwg.org/ How would I create a URL relative to the page, but taking into account (and anything else that may affect relative urls on the page)? It feels like the 2nd constructor parameter should default to the page's base url, and you could pass window.location.href in if you w