RE: [Resource Priorities] Behaviour of Postpone Attribute when display:none and image within viewport

The image would not be downloaded until the display property is no longer set to none. Let me try to update that spec text to make it more clear.

Thanks,
Jatinder

From: Andy Davies [mailto:dajdavies@gmail.com]
Sent: Tuesday, September 10, 2013 6:48 AM
To: public-web-perf@w3.org
Subject: [Resource Priorities] Behaviour of Postpone Attribute when display:none and image within viewport

I'm trying to interpret what would happen to an image that's within the viewport and has display set to none.

The spec says:

The postpone<https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/ResourcePriorities/Overview.html#postpone-attribute> attribute indicates that the User Agent MUST not start downloading the resource associated with the element until either the bounding box of the element is inside the User Agent's interpretation of the Document's viewport, or the element has been styled such that its display<http://www.w3.org/TR/CSS2/visuren.html#display-prop> property is no longer set to none.

Based on this would the image be downloaded?

Thanks

Andy

Received on Wednesday, 11 September 2013 00:13:39 UTC