UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Steps to reproduce the problem:
1. Resize browser to <600px width.
2. Load a HTML page containing a picture element with a single source element with a media query set to min-width: 600px.
3. Remove the picture element from the DOM.
4. Resize the browser to >600px.
5. Observe the network panel to see that an image used in the picture element has been requested.
A working example has been created here: http://codepen.io/anon/pen/WxgExr
What is the expected behavior?
No network requests should be made for picture elements that have been removed from the DOM.
What went wrong?
Bandwidth is wasted to load images for picture elements that no longer exist when resizing the browser.
Did this work before? N/A
Chrome version: 51.0.2704.103 Channel: stable
OS Version: OS X 10.10.5
Flash Version: Shockwave Flash 22.0 r0
Comment 1 by dtapu...@chromium.org
, Aug 3 2016