Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add srcset 'w' support using a data- attribute #661

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add srcset 'w' support using a data- attribute #661

wants to merge 1 commit into from

Conversation

albell
Copy link

@albell albell commented Oct 29, 2014

Re: #655

Mixing 'x' and 'w' descriptors in srcset leads to a miasma of confusion. Everyone seems to advise against it. The 'w' syntax is the way to go for flexible width images, even though it's only in blink. 'x' is really only for resolution switching with fixed images, and CB already has that covered.

There's some random cleanup in there too. Hope this is clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant