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

Issue parsing CSS syntax "border-radius:0 0 100px 100px / 0 0 20px 20px;" #206

Closed
ChrisCinelli opened this issue Feb 21, 2011 · 5 comments
Closed

Comments

@ChrisCinelli
Copy link

It is a valid CSS statement for creating the bottom elliptical border.
However after less.js parses it, it becomes "border-radius: 0 0 120px Infinitypx 0 6px 6px; "
It looks like less.js try to calculate 120px / 0 but it is not the right thing to do here.
Note syntax "border-radius:200px / 100px;" is legal too in CSS.

@ChrisCinelli
Copy link
Author

@lukeapage
Copy link
Member

duplicate of #146

@ttfkam
Copy link
Contributor

ttfkam commented Sep 14, 2011

 border-radius: ~"200px / 100px";

This takes it as a literal string without the normal math conversion.

@matthew-dean
Copy link
Member

Is this syntax finalized? I guess it has been stable enough with font declarations.

@lukeapage
Copy link
Member

dupe of #146, please move future discussion their.

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

No branches or pull requests

4 participants