- From: Sam Weinig via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 Aug 2024 21:51:56 +0000
- To: public-css-archive@w3.org
weinig has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-typed-om] Is using a constructed expression of the form 1px/1px invalid as a <number> == The WPT test [css/css-typed-om/stylevalue-subclasses/cssScale.tentative.html](https://wpt.fyi/results/css/css-typed-om/stylevalue-subclasses/cssScale.tentative.html) requires that the following throw an exception: ```js let coord = new CSSMathProduct(CSS.px(1), new CSSMathInvert(CSS.px(1))); let scale = new CSSScale(coord, 0); ``` with a description calling the product "an invalid division by px/px". I can't find where (or if) this is required by the current CSS Typed OM draft (and it may just be an invalid test, it is marked tentative), but may be missing it. Should this be invalid? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10733 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 August 2024 21:51:57 UTC