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
Number syntax: digit-sequence "." #442
Labels
Comments
As an interesting note: The |
This is a duplicate of #331. Could you add your comments there, Dirk? |
@AmeliaBR Thanks. I did create and added a summary there. |
Number parsing should be consistent with CSS rules. I highly doubt Firefox will change unless the CSS spec changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SVG Path data as well as SVG transforms and probably other SVG specific attributes that take numbers allow:
1.
.It seems only Edge does support this:
https://codepen.io/krit/pen/wjmzzQ
https://codepen.io/krit/pen/rvdOQX
Should this be removed? Do we just need more tests?
Note: CSS numbers do not support this syntax either.
https://www.w3.org/TR/SVG/paths.html#PathDataBNF
https://www.w3.org/TR/SVG/coords.html#TransformAttribute (replaced by CSS Transforms but sill relevant since the number syntax should be defined the same for all appearances. w3c/csswg-drafts#2623 (comment))
The text was updated successfully, but these errors were encountered: