- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Sun, 28 Jan 2018 05:38:51 +0000
- To: public-houdini-archive@w3.org
dbaron has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-typed-om] CSSNumericValue.div() and invert don't specify handling of divide-by-zero == The [definition of CSSNumericValue.div()](https://drafts.css-houdini.org/css-typed-om-1/#dom-cssnumericvalue-div) and the [definition of the invert concept](https://drafts.css-houdini.org/css-typed-om-1/#cssmath-invert) immediately following (which it depends on) don't specify the handling of division by zero. However, it seems like they need to, given that the second step of invert is: > If this is a CSSUnitValue object with unit internal slot set to "number", return a new CSSUnitValue with the unit internal slot set to "number", and a value internal slot set to the inverse of this’s. which could certainly do division by zero, and is required to place the result in a [`double`](https://heycam.github.io/webidl/#idl-double) (not [`unrestricted double`](https://heycam.github.io/webidl/#idl-unrestricted-double)). Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/575 using your GitHub account
Received on Sunday, 28 January 2018 05:38:53 UTC