Require default length in sizes (authoring req) #256

Closed
zcorpan opened this Issue Feb 8, 2015 · 4 comments

Projects

None yet

2 participants

@zcorpan
zcorpan commented Feb 8, 2015

See #253

since we require the sizes attribute now because defaulting to 100vw is unexpected, do we also want to require a default length for the same resaon?

maybe people will write media-conditions that are mutually exclusive, in which case a default length is not needed ? We could make it a parse error if the algorithm falls back to 100vw.

@zcorpan
zcorpan commented Feb 10, 2015

I'm leaning towards the simplest option, change the grammar to require the default length.

@yoavweiss
Member

If we're changing the grammar, it'd also change the processing model, not just the authoring requirements, right?

What should the browser do if the default length is not there?

@zcorpan
zcorpan commented Feb 11, 2015

No need to change the processing model.

@yoavweiss
Member

OK

@zcorpan zcorpan closed this in 2340eca Feb 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment