forked from AuroraMiddleware/gtk
tests: Add test for 'initial' and 'inherit' on shorthands
This commit is contained in:
parent
e87cf5d789
commit
232d9226f9
@ -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 \
|
||||
|
9
tests/css/parser/value-inherit-shorthand.css
Normal file
9
tests/css/parser/value-inherit-shorthand.css
Normal file
@ -0,0 +1,9 @@
|
||||
* {
|
||||
border-color: inherit;
|
||||
border-image: inherit;
|
||||
border-radius: inherit;
|
||||
border-width: inherit;
|
||||
font: inherit;
|
||||
margin: inherit;
|
||||
padding: inherit;
|
||||
}
|
31
tests/css/parser/value-inherit-shorthand.ref.css
Normal file
31
tests/css/parser/value-inherit-shorthand.ref.css
Normal 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;
|
||||
}
|
9
tests/css/parser/value-initial-shorthand.css
Normal file
9
tests/css/parser/value-initial-shorthand.css
Normal file
@ -0,0 +1,9 @@
|
||||
* {
|
||||
border-color: initial;
|
||||
border-image: initial;
|
||||
border-radius: initial;
|
||||
border-width: initial;
|
||||
font: initial;
|
||||
margin: initial;
|
||||
padding: initial;
|
||||
}
|
31
tests/css/parser/value-initial-shorthand.ref.css
Normal file
31
tests/css/parser/value-initial-shorthand.ref.css
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user