forked from AuroraMiddleware/gtk
tests: Add a test for 'none'
This commit is contained in:
parent
4da493402d
commit
06960bb9d6
@ -295,4 +295,7 @@ EXTRA_DIST += \
|
||||
test.png \
|
||||
value-inherit.css \
|
||||
value-intial.css \
|
||||
value-none.css \
|
||||
value-none.errors \
|
||||
value-none.ref.css \
|
||||
widget-style-property.css
|
||||
|
42
tests/css/parser/value-none.css
Normal file
42
tests/css/parser/value-none.css
Normal file
@ -0,0 +1,42 @@
|
||||
* {
|
||||
background-clip: none;
|
||||
background-color: none;
|
||||
background-image: none;
|
||||
background-origin: none;
|
||||
background-repeat: none;
|
||||
border-bottom-color: none;
|
||||
border-bottom-left-radius: none;
|
||||
border-bottom-right-radius: none;
|
||||
border-bottom-width: none;
|
||||
border-image-repeat: none;
|
||||
border-image-slice: none;
|
||||
border-image-source: none;
|
||||
border-image-width: none;
|
||||
border-left-color: none;
|
||||
border-left-width: none;
|
||||
border-right-color: none;
|
||||
border-right-width: none;
|
||||
border-style: none;
|
||||
border-top-color: none;
|
||||
border-top-left-radius: none;
|
||||
border-top-right-radius: none;
|
||||
border-top-width: none;
|
||||
box-shadow: none;
|
||||
color: none;
|
||||
engine: none;
|
||||
font-family: none;
|
||||
font-size: none;
|
||||
font-style: none;
|
||||
font-variant: none;
|
||||
font-weight: none;
|
||||
icon-shadow: none;
|
||||
margin-bottom: none;
|
||||
margin-left: none;
|
||||
margin-right: none;
|
||||
margin-top: none;
|
||||
padding-bottom: none;
|
||||
padding-left: none;
|
||||
padding-right: none;
|
||||
padding-top: none;
|
||||
text-shadow: none;
|
||||
}
|
32
tests/css/parser/value-none.errors
Normal file
32
tests/css/parser/value-none.errors
Normal file
@ -0,0 +1,32 @@
|
||||
value-none.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:3: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:5: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:6: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:7: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:8: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:9: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:10: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:11: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:12: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:14: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:15: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:16: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:17: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:18: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:20: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:21: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:22: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:23: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:25: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:28: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:29: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:30: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:31: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:33: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:34: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:35: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:36: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:37: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:38: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:39: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
value-none.css:40: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
10
tests/css/parser/value-none.ref.css
Normal file
10
tests/css/parser/value-none.ref.css
Normal file
@ -0,0 +1,10 @@
|
||||
* {
|
||||
background-image: none;
|
||||
border-image-source: none;
|
||||
border-style: none;
|
||||
box-shadow: none;
|
||||
engine: none;
|
||||
font-family: "none";
|
||||
icon-shadow: none;
|
||||
text-shadow: none;
|
||||
}
|
Loading…
Reference in New Issue
Block a user