Re: [css-d] Does display: none still download a bgnd image

2011-09-11 Thread Rick Lecoat
On 10 Sep 2011, at 15:51, Philippe Wittenbergh wrote: Depends on the browser and the device. As far as I can tell, iOS 4.3 Mobile Safari does download those images, but Safari 5.1 (and I think then iOS 5 Mobile Safari) do not. Yes, ‘it depends’ it is looking increasingly like the only

Re: [css-d] Does display: none still download a bgnd image

2011-09-11 Thread Philippe Wittenbergh
On Sep 11, 2011, at 11:15 PM, Rick Lecoat wrote: On a related note, do you (or does anyone else) have any recommendation regarding whether to include the media query in the markup’s link tag, or in the CSS as an @media rule? It depends :-). For a relatively simple stylesheet, with many

[css-d] Does display: none still download a bgnd image

2011-09-10 Thread Rick Lecoat
Hi all; With the current interest in mobile-first responsive design, I have a question that I’ve been unable to fully answer. Here’s the scenario: Assuming that I use the same page for both desktop and mobile (ie. NOT a separate mobile site or subdomain) then I will most likely streamline the

Re: [css-d] Does display: none still download a bgnd image

2011-09-10 Thread Tom Livingston
I believe mobile safari does download the images. Sent from my iPhone On Sep 10, 2011, at 5:42 AM, Rick Lecoat li...@sharkattack.co.uk wrote: Hi all; With the current interest in mobile-first responsive design, I have a question that I’ve been unable to fully answer. Here’s the scenario:

Re: [css-d] Does display: none still download a bgnd image

2011-09-10 Thread David Laakso
On 9/10/11 5:42 AM, Rick Lecoat wrote: Hi all; With the current interest in mobile-first responsive design, I have a question that I’ve been unable to fully answer. Here’s the scenario: My question then, pertains to minimising bandwidth requirements, and it is this: if an element has a

Re: [css-d] Does display: none still download a bgnd image

2011-09-10 Thread Philippe Wittenbergh
On Sep 10, 2011, at 6:42 PM, Rick Lecoat wrote: My question then, pertains to minimising bandwidth requirements, and it is this: if an element has a background image -- eg. background-image: url(/myImage.png); -- and *also* has display: none applied, does the browser download that image

Re: [css-d] Does display: none still download a bgnd image

2011-09-10 Thread Ghodmode
On Sat, Sep 10, 2011 at 5:42 PM, Rick Lecoat li...@sharkattack.co.uk wrote: Hi all; With the current interest in mobile-first responsive design, I have a question that I’ve been unable to fully answer. Here’s the scenario: Assuming that I use the same page for both desktop and mobile (ie.