Allow slash in box-shadow values #319

timeinfeldt opened this Issue Nov 8, 2012 · 2 comments

4 participants



CSSLint marks the following as error:

border-radius: 100px/10px;

Expected (<'border-radius'>) but found '/'.

As far as I can tell this is valid syntax for specifying horizontal and vertical values separately.



It is valid. You use that syntax to specify an ellipse arc.

@mattiacci mattiacci referenced this issue in CSSLint/parser-lib Nov 12, 2012

Fix validation of border-radius #36


I've opened a pull request which should fix this issue in parser-lib: CSSLint/parser-lib#36

In the meantime, you can use the following workaround:

border-radius: 100px 100px / 10px;

@nzakas nzakas added a commit that closed this issue Nov 13, 2012
@nzakas nzakas Updated parser (fixes #319) 6e19625
@nzakas nzakas closed this in 6e19625 Nov 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment