Skip to content
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

[css-typed-om] 6.3. CSSUnitValue Serialization unit string bug #761

Closed
rwaldron opened this issue May 23, 2018 · 1 comment
Closed

[css-typed-om] 6.3. CSSUnitValue Serialization unit string bug #761

rwaldron opened this issue May 23, 2018 · 1 comment

Comments

@rwaldron
Copy link

https://www.w3.org/TR/css-typed-om-1/#numericvalue-serialization

  1. Otherwise, if unit is "percentage", append "%" to s, then return s.

If the CSSUnitValue object was created via CSS.percent(n), the unit value will be "percent".

@tabatkins
Copy link
Member

Ah, thanks, I actually made this mistake three times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants