New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parse_floating_point_number does not conform to spec #32269
Comments
Will you do this @shanehandley? |
I will take a look! Thank you. |
I was wrong 🙇 . This comment in the WPT tests repo clarified things for me: web-platform-tests/wpt#44315 (comment)
We have a It seems the work required is:
For 1., there is a lot of overlap between the ECMAScript and HTML specs for parsing floats (with radix omitted) - so maybe we can pluck out the some key steps and mostly fall back to it? |
Oh, you're right, I also completely missed ECMAScript parsing of floats is implemented in SM (I think), so we would need conversions it might be better to just do some pre/post processing like it's done in |
As noted in #32230 (comment)
SPEC: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#rules-for-parsing-floating-point-number-values
The text was updated successfully, but these errors were encountered: