tests: Add parser test for shorthands
This commit is contained in:
@ -76,4 +76,6 @@ EXTRA_DIST += \
|
|||||||
pseudo-classes-unknown.ref.css \
|
pseudo-classes-unknown.ref.css \
|
||||||
selector.css \
|
selector.css \
|
||||||
selector.ref.css \
|
selector.ref.css \
|
||||||
|
shorthand.css \
|
||||||
|
shorthand.ref.css \
|
||||||
simple.css
|
simple.css
|
||||||
|
|||||||
5
tests/css/parser/shorthand.css
Normal file
5
tests/css/parser/shorthand.css
Normal 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;
|
||||||
|
}
|
||||||
6
tests/css/parser/shorthand.ref.css
Normal file
6
tests/css/parser/shorthand.ref.css
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
a {
|
||||||
|
border-bottom-width: 3;
|
||||||
|
border-left-width: 2;
|
||||||
|
border-right-width: 2;
|
||||||
|
border-top-width: 1;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user