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

Update cssPropertyMatcher #3

Open
peteschaffner opened this issue May 3, 2014 · 0 comments
Open

Update cssPropertyMatcher #3

peteschaffner opened this issue May 3, 2014 · 0 comments

Comments

@peteschaffner
Copy link

According to the spec, the ordering of individual background-* property values is arbitrary, so shouldn't the cssPropertyMatcher regex be a little more flexible?

I ran into this issue when declaring background-color before background-image in a background shorthand property. Here is a quick attempt to fix. The new tests are on lines 16 and 17.

The solution presented there is probably a little too loose, but take a look and see what you think.

Thanks!

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

1 participant