tests: Add test for 'initial' and 'inherit' on shorthands

This commit is contained in:
Benjamin Otte 2012-01-02 15:52:21 +01:00
parent e87cf5d789
commit 232d9226f9
5 changed files with 84 additions and 0 deletions

View File

@ -294,7 +294,11 @@ EXTRA_DIST += \
single-slash.ref.css \
test.png \
value-inherit.css \
value-inherit-shorthand.css \
value-inherit-shorthand.ref.css \
value-intial.css \
value-intial-shorthand.css \
value-intial-shorthand.ref.css \
value-none.css \
value-none.errors \
value-none.ref.css \

View File

@ -0,0 +1,9 @@
* {
border-color: inherit;
border-image: inherit;
border-radius: inherit;
border-width: inherit;
font: inherit;
margin: inherit;
padding: inherit;
}

View File

@ -0,0 +1,31 @@
* {
border-bottom-color: inherit;
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
border-bottom-width: inherit;
border-image-repeat: inherit;
border-image-slice: inherit;
border-image-source: inherit;
border-image-width: inherit;
border-left-color: inherit;
border-left-width: inherit;
border-right-color: inherit;
border-right-width: inherit;
border-top-color: inherit;
border-top-left-radius: inherit;
border-top-right-radius: inherit;
border-top-width: inherit;
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-variant: inherit;
font-weight: inherit;
margin-bottom: inherit;
margin-left: inherit;
margin-right: inherit;
margin-top: inherit;
padding-bottom: inherit;
padding-left: inherit;
padding-right: inherit;
padding-top: inherit;
}

View File

@ -0,0 +1,9 @@
* {
border-color: initial;
border-image: initial;
border-radius: initial;
border-width: initial;
font: initial;
margin: initial;
padding: initial;
}

View File

@ -0,0 +1,31 @@
* {
border-bottom-color: initial;
border-bottom-left-radius: initial;
border-bottom-right-radius: initial;
border-bottom-width: initial;
border-image-repeat: initial;
border-image-slice: initial;
border-image-source: initial;
border-image-width: initial;
border-left-color: initial;
border-left-width: initial;
border-right-color: initial;
border-right-width: initial;
border-top-color: initial;
border-top-left-radius: initial;
border-top-right-radius: initial;
border-top-width: initial;
font-family: initial;
font-size: initial;
font-style: initial;
font-variant: initial;
font-weight: initial;
margin-bottom: initial;
margin-left: initial;
margin-right: initial;
margin-top: initial;
padding-bottom: initial;
padding-left: initial;
padding-right: initial;
padding-top: initial;
}