Just some beginner's questions around the Picturefill polyfill:
I've noticed a short flicker in Firefox (33) and Safari (7.1) when I use a src
attribute. These Browsers make an extra HTTP request. This is my code:
<img src="images/300x180-1.jpg"
alt="My alt text"
sizes="(min-width: 768px) 364px, 100vw"
srcset="images/364x220@2x-1.jpg 728w, images/364x220-1.jpg 364w" />
- Shouldn't Picturefill prevent the browser from downloading unnecessary images?
- Are there any downsides from removing the
src
attribute? (I'm aware that people with JS turned off or a browser without native responsive images won't see any image at all, just the alt text) - What impact does a missing
src
attribute have on SEO?