Skip to content

Conversation

@cscott
Copy link
Contributor

@cscott cscott commented Feb 5, 2016

This uses the Matcher framework (PR #199) to handle a fairly-complex shorthand property.

This patch is based on a patch set by Onno van der Zee, originally submitted as PR #164. Using the Matcher framework allowed the original implementation to be greatly simplified, but many of the test cases are from the original patch set.

Note that this PR is rebased on PR #179, which itself includes PR #180. It also includes PR #197, #198, and #199. These other pull requests should be merged first; this PR can then be rebased on master.

@XhmikosR
Copy link
Member

XhmikosR commented Feb 6, 2016

@cscott: this needs a rebase; after that feel free to merge it.

@XhmikosR XhmikosR added this to the v0.2.6 milestone Feb 6, 2016
More carefully validate the <ident> type, since the CSS spec gives
various restrictions on the identifiers allowed.
This uses the Matcher framework to handle a fairly-complex shorthand
property.

This patch is based on a patch set by Onno van der Zee, originally
submitted as PR CSSLint#164.  Using the Matcher framework allowed the
original implementation to be greatly simplified, but many of the
test cases are from the original patch set.
cscott added a commit that referenced this pull request Feb 6, 2016
Validate `font-family` and the `font` compound property.
@cscott cscott merged commit b345d05 into CSSLint:master Feb 6, 2016
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