Skip to content

Conversation

@cscott
Copy link
Contributor

@cscott cscott commented Feb 5, 2016

This allows concise description of complex ValidationTypes, using syntax parallel to that in the official CSS specification. The first patch just implements the mechanism; the second patch uses it to simplify existing ValidationTypes.

This allows concise description of complex ValidationTypes, using
syntax parallel to that in the official CSS specification.  This
patch just implements the mechanism; a follow-up patch uses it
to simplify existing ValidationTypes.
As a side-effect, we also pushed handling the `inherit` option out of
most ValidationTypes and moved it into the specification in the
Properties table.  I expect to refactor this further in the future to
make handling of inherit/initial/unset automatic and implicit.
XhmikosR added a commit that referenced this pull request Feb 6, 2016
Use `Matcher` combinators to greatly simplify complex `ValidationTypes`
@XhmikosR XhmikosR merged commit 899cddd into CSSLint:master Feb 6, 2016
@XhmikosR XhmikosR added this to the v0.2.6 milestone 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