Re: [webkit-dev] Lazy loading

2019-10-29 Thread Scott Little
> Are there plans to better specify CSS background images lazy loading? There aren't currently any plans to add lazy CSS background images to a spec, or at least no plans that I know of right now. Right now in Chromium, the default lazy loading behavior is essentially based on whether or not the

Re: [webkit-dev] Lazy loading

2019-10-28 Thread Rob Buis
Regarding lazily loading CSS background images, Chromium determines whether or not to lazily load CSS background images according to the default lazy loading behavior, and isn't directly controlled by the "loading" attribute. There are some heuristics involved, e.g. background images inside an

Re: [webkit-dev] Lazy loading

2019-10-28 Thread Rob Buis
Apologies, it seems I spread some misinformation about CSS background lazy loading, which Scott rectified. On 10/29/19 12:36 AM, Maciej Stachowiak wrote: On Oct 28, 2019, at 3:08 PM, Rob Buis wrote: On 10/28/19 9:07 PM, Maciej Stachowiak wrote: Yet another possible task is making lazy

Re: [webkit-dev] Lazy loading

2019-10-28 Thread Scott Little
Regarding lazily loading CSS background images, Chromium determines whether or not to lazily load CSS background images according to the default lazy loading behavior, and isn't directly controlled by the "loading" attribute. There are some heuristics involved, e.g. background images inside an

Re: [webkit-dev] Lazy loading

2019-10-28 Thread Maciej Stachowiak
> On Oct 28, 2019, at 3:08 PM, Rob Buis wrote: > > On 10/28/19 9:07 PM, Maciej Stachowiak wrote: > >>> Yet another possible task is making lazy loading work for CSS backgrounds, >>> this is implemented in the prototype but I don't think there are many tests >>> for it. >> Is there a way for

Re: [webkit-dev] Lazy loading

2019-10-28 Thread Rob Buis
On 10/28/19 9:07 PM, Maciej Stachowiak wrote: Yet another possible task is making lazy loading work for CSS backgrounds, this is implemented in the prototype but I don't think there are many tests for it. Is there a way for content authors to opt in/out (depending on the default), or does

Re: [webkit-dev] Lazy loading

2019-10-28 Thread Maciej Stachowiak
> On Oct 28, 2019, at 11:39 AM, Rob Buis wrote: > > Hi, > > I made a lazy image loading prototype earlier this year > (https://bugs.webkit.org/show_bug.cgi?id=196698) and have been splitting it > up into reviewable patches. The main implementation part landed recently so I > am wondering

Re: [webkit-dev] Lazy loading

2019-10-28 Thread Thomas Steiner
On Mon 28. Oct 2019 at 20:02 Simon Fraser wrote: > > On Oct 28, 2019, at 11:39 AM, Rob Buis wrote: > > > > Hi, > > > > I made a lazy image loading prototype earlier this year ( > https://bugs.webkit.org/show_bug.cgi?id=196698) and have been splitting > it up into reviewable patches. The main

Re: [webkit-dev] Lazy loading

2019-10-28 Thread Simon Fraser
> On Oct 28, 2019, at 11:39 AM, Rob Buis wrote: > > Hi, > > I made a lazy image loading prototype earlier this year > (https://bugs.webkit.org/show_bug.cgi?id=196698) and have been splitting it > up into reviewable patches. The main implementation part landed recently so I > am wondering