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

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

From: Andy Davies <dajdavies@gmail.com>
Date: Tue, 10 Sep 2013 14:47:48 +0100
Message-ID: <CABbusALQq+1W1LjWKHXk9+QkoF6f4-SC3PFzTY+zvzYbwWE6Lg@mail.gmail.com>
To: "public-web-perf@w3.org" <public-web-perf@w3.org>
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 Tuesday, 10 September 2013 13:48:22 UTC

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