[webkit-dev] Lazy loading

Rob Buis rbuis at igalia.com
Mon Oct 28 15:08:32 PDT 2019


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 this just always follow what the default lazy loading setting is?

 From reading the chromium code, it seems to use a combination of 
feature policy and the loading attribute to decide whether to enable CSS 
backgrounds lazy loading or not. Hopefully a chromium developer can confirm.

Regards,

Rob.



More information about the webkit-dev mailing list