Re: [csswg-drafts] [cssom] Serialization of large numbers should use scientific notation (#6471)

> I need to amend Syntax to allow scinot to produce integers at least some of time.

Copy-paste of what I was suggesting in #7289 :

> Otherwise, step 5.3 of [consume a number](https://drafts.csswg.org/css-syntax-3/#consume-a-number) could be replaced after step 6 by evaluating if `repr` is a number. I do not know how this evaluation can be translated into spec/WebIDL terms.
>
> Perhaps it can not be fixed because it would break parsing eg. [`<signless-integer>` and `<signed-integer>`](https://drafts.csswg.org/css-syntax-3/#typedef-signless-integer).

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6471#issuecomment-1135371018 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 24 May 2022 03:48:04 UTC