W3C home > Mailing lists > Public > public-web-perf@w3.org > September 2013

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

From: Jatinder Mann <jmann@microsoft.com>
Date: Wed, 11 Sep 2013 00:13:09 +0000
To: Andy Davies <dajdavies@gmail.com>, "public-web-perf@w3.org" <public-web-perf@w3.org>
Message-ID: <c02cd352ab0846bbaea47ae882c1728f@BLUPR03MB065.namprd03.prod.outlook.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:01:21 UTC