tests: Add parser test for shorthands

This commit is contained in:
Benjamin Otte
2011-05-22 03:09:23 +02:00
parent f5c7cefcca
commit bd610582b8
3 changed files with 13 additions and 0 deletions

View File

@ -76,4 +76,6 @@ EXTRA_DIST += \
pseudo-classes-unknown.ref.css \
selector.css \
selector.ref.css \
shorthand.css \
shorthand.ref.css \
simple.css

View File

@ -0,0 +1,5 @@
/* need to use an existing shorthand, the public API doesn't
* allow custom ones */
a {
border-width: 1 2 3;
}

View File

@ -0,0 +1,6 @@
a {
border-bottom-width: 3;
border-left-width: 2;
border-right-width: 2;
border-top-width: 1;
}