auto: Default behaviour of the browser, equal to not including the attribute.
I've had trouble being sure about this as written in different places. Is the auto value going to be as if this feature never existed or does it mean that the browser will choose the behavior and things still might be "lazier" than they had been in the past?
...does that question make sense?
I really really like this. DEV implemented this feature as soon as we possibly could.
I just did a quick pass to get it in some images, still need to go through more of the site and implement this in more places, especially with iframe embeds.
Thanks Ben, the auto means you are delegating the responsibility to the browser. As I mentioned, each browsers has a different way of dealing with depriotising offscreen resources, so they will use it. Also if a browser doesn't have any strategy (which is possible) then it's equal to eager
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great writeup!
I've had trouble being sure about this as written in different places. Is the
auto
value going to be as if this feature never existed or does it mean that the browser will choose the behavior and things still might be "lazier" than they had been in the past?...does that question make sense?
I really really like this. DEV implemented this feature as soon as we possibly could.
If you enable "lazy loading" in chrome://flags, your DEV browsing experience will be moderately more efficient π
Ben Halpern γ» May 9 γ» 1 min read
I just did a quick pass to get it in some images, still need to go through more of the site and implement this in more places, especially with iframe embeds.
Auto, for now, will be the same as eager but the browser makers will get to choose.
github.com/whatwg/html/pull/3752/f...
Thanks Ben, the auto means you are delegating the responsibility to the browser. As I mentioned, each browsers has a different way of dealing with depriotising offscreen resources, so they will use it. Also if a browser doesn't have any strategy (which is possible) then it's equal to eager