-
Notifications
You must be signed in to change notification settings - Fork 4
Specifying multiple parameters in nested elements #7
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
Comments
Does it work if you un-nest them? |
Yes. |
Doesn't appear to be anything wrong w/ your syntax. Do you think you could create a failing test in the form of a PR? |
I will try! |
@snowe2010, are you still having this issue? The following test works just fine for me: it('parses multiple parameters in nested elements', () => {
check(
`a{font:{family:'Raleway', Arial, sans-serif;\nweight:500}}`,
`a{font-family:'Raleway', Arial, sans-serif;font-weight:500}`
);
}); Can you try to update the PostCSS parser and see if that fixes it? Try version 5.1.2. Note: I do get errors if I don't put the semi-colon in there, which is why I'm a bit suspicious that the PostCSS parser might be actually having an issue. |
I haven't worked on this project in a while, but as soon as I get back to it (which should be soon) I'll test it out again. |
This issue is stale. Closing until further notice. |
I'm trying specify multiple font families, but I'm getting errors.
results in
Any clue what I'm doing wrong?
Also, I'm using stylus with postcss processors like Lost and nested props.
The text was updated successfully, but these errors were encountered: