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

Drop candidates with h without w #239

Closed
zcorpan opened this Issue Aug 14, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@zcorpan
Copy link

zcorpan commented Aug 14, 2014

Generally unknown descriptors are just ignored in srcset, they don't cause the candidate to be dropped on the floor. This appears to be the desirable behavior for type(), integrity() and h when w is also present. However, it is a bit confusing for h when w is not present, since it gets interpreted as 1x.

http://ircbot.responsiveimages.org/bot/log/respimg/2014-08-14#T86602 for discussion.

The fix is a step after 13: "If future-compat-h is not absent and width is absent, let error be yes."

Any opinions?

@yoavweiss

This comment has been minimized.

Copy link
Member

yoavweiss commented Aug 14, 2014

+1, since it'd help us introduce h in the future, without causing confusion in legacy UAs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment