[css-houdini-drafts] [css-typed-om] CSSNumericValue.parse() should accept 'min()' and 'max()'

dbaron has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om] CSSNumericValue.parse() should accept 'min()' and 'max()' ==
The [definition of `CSSNumericValue.parse()`](https://drafts.css-houdini.org/css-typed-om-1/#dom-cssnumericvalue-parse) says:

> If result is not a <number-token>, <percentage-token>, <dimension-token>, or a <calc()>, throw a SyntaxError and abort this algorithm.

Given that this includes <calc()>, it seems like it should also include <min()> and <max()> which are defined at the same place, but aren't clearly included.  (They also aren't clearly forbidden, given that the link for <calc()> links to a definition of all three.)

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/579 using your GitHub account

Received on Sunday, 28 January 2018 06:42:02 UTC