Skip to content

Fix validation of background-position#33

Merged
nzakas merged 1 commit intoCSSLint:masterfrom
mattiacci:bg-position
Oct 8, 2012
Merged

Fix validation of background-position#33
nzakas merged 1 commit intoCSSLint:masterfrom
mattiacci:bg-position

Conversation

@mattiacci
Copy link
Copy Markdown
Contributor

Current version of background-position validator doesn't match W3C CSS3 spec.

This update fixes that, but does have one side effect: In some cases, in can output different error messages than it does now (see the output for left center right).

I don't like the count variable, but the version without it was more verbose and less clear to me.

@nzakas
Copy link
Copy Markdown
Contributor

nzakas commented Oct 8, 2012

Looks good to me, thanks!

nzakas added a commit that referenced this pull request Oct 8, 2012
Fix validation of background-position
@nzakas nzakas merged commit aecba50 into CSSLint:master Oct 8, 2012
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

Successfully merging this pull request may close these issues.

2 participants