[webkit-dev] Lazy loading

2019-10-28 Thread Rob Buis
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 about the next steps. One thing left to do for sure is cleaning u

[webkit-dev] Lazy loading

2019-12-04 Thread Dominic Farolino
*Maciej wrote:* - I couldn’t find a spec for a lazy loading feature policy either, and the Chrome Platform Status page for it gives the status as “removed”[2] so this too might be a nonstandard thing. Or maybe there is a newer (Doesn’t look like the feature policy aspect is in your patch though.)

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 abou

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 imp

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 a

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 thi

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 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 ifra

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 lo

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 ifr

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