reftests: Add a test comparing inherit and initial
One test has all properties set to 'inherit', the other to 'initial'. This should result in the same result, as inherit will ensure every widget inherits the same value, and for the toplevel 'inherit' is defined as being identical to 'initial'.
This commit is contained in:
@ -130,6 +130,9 @@ EXTRA_DIST += \
|
||||
grid-spacing3.css \
|
||||
grid-spacing3.ref.ui \
|
||||
grid-spacing3.ui \
|
||||
inherit-and-initial.css \
|
||||
inherit-and-initial.ref.ui \
|
||||
inherit-and-initial.ui \
|
||||
label-attribute-preference.css \
|
||||
label-attribute-preference.ref.ui \
|
||||
label-attribute-preference.ui \
|
||||
|
||||
85
tests/reftests/inherit-and-initial.css
Normal file
85
tests/reftests/inherit-and-initial.css
Normal file
@ -0,0 +1,85 @@
|
||||
* {
|
||||
background-clip: initial;
|
||||
background-color: initial;
|
||||
background-image: initial;
|
||||
background-origin: initial;
|
||||
background-repeat: initial;
|
||||
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-style: initial;
|
||||
border-top-color: initial;
|
||||
border-top-left-radius: initial;
|
||||
border-top-right-radius: initial;
|
||||
border-top-width: initial;
|
||||
box-shadow: initial;
|
||||
color: initial;
|
||||
engine: initial;
|
||||
font-family: initial;
|
||||
font-size: initial;
|
||||
font-style: initial;
|
||||
font-variant: initial;
|
||||
font-weight: initial;
|
||||
icon-shadow: 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;
|
||||
text-shadow: initial;
|
||||
}
|
||||
|
||||
#inherit {
|
||||
background-clip: inherit;
|
||||
background-color: inherit;
|
||||
background-image: inherit;
|
||||
background-origin: inherit;
|
||||
background-repeat: inherit;
|
||||
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-style: inherit;
|
||||
border-top-color: inherit;
|
||||
border-top-left-radius: inherit;
|
||||
border-top-right-radius: inherit;
|
||||
border-top-width: inherit;
|
||||
box-shadow: inherit;
|
||||
color: inherit;
|
||||
engine: inherit;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
font-style: inherit;
|
||||
font-variant: inherit;
|
||||
font-weight: inherit;
|
||||
icon-shadow: 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;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
2166
tests/reftests/inherit-and-initial.ref.ui
Normal file
2166
tests/reftests/inherit-and-initial.ref.ui
Normal file
File diff suppressed because it is too large
Load Diff
2009
tests/reftests/inherit-and-initial.ui
Normal file
2009
tests/reftests/inherit-and-initial.ui
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user