Re: [css-houdini-drafts] [css-typed-om-1] How does StylePropertyMap interact with CSSStyleDeclaration?

My interpretation is that `z-index`'s grammar takes an `<integer>`, so we would fail at the grammar matching stage of `StylePropertyMap.set` (since nothing matches `<integer>` atm).

For numbers outside the supported range (e.g. `width`), we would match successfully against the grammar `<length>`, but technically it's invalid because the spec text for width says it's invalid (but not in the grammar?)

Not sure if my understanding is correct, but we should probably have a consistent behaviour for both cases.

-- 
GitHub Notification of comment by darrnshn
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/670#issuecomment-366080671 using your GitHub account

Received on Thursday, 15 February 2018 22:19:00 UTC