srcset-polyfill icon indicating copy to clipboard operation
srcset-polyfill copied to clipboard

Chrome 34+ partial support problems

Open ckrack opened this issue 11 years ago • 3 comments

Chrome 34+ (i guess newest webkit) includes support for the resolution modifier. So 2x, 1x works, but the specification of images by certain dimensions is not supported.

Can the polyfill detect this and add the support for the media query part including dimension queries?

ckrack avatar Apr 25 '14 10:04 ckrack

In all honestly I've not looked at this for a very long time, I'm not even sure it conforms to the current spec. I'll have to do some reading to see what I can do.

JimBobSquarePants avatar Apr 25 '14 10:04 JimBobSquarePants

I guess it'd be solved by turning of the check for the support, relying on the polyfill solely for now. But from what i've read we're supposed to use the picture element rather than srcset when delivering images in different dimensions.

ckrack avatar Apr 25 '14 10:04 ckrack

Well that's my thought now also; this was really an experiment to get people thinking about it.

I would recommend picturefill over anything else.

JimBobSquarePants avatar Apr 25 '14 11:04 JimBobSquarePants