Commit e7aa125e authored by Benjamin Otte's avatar Benjamin Otte

tests: Add a test for all selector combination

The test contains an error where we complain about a duplicate value for
":hover:hover"
parent e875c619
......@@ -68,4 +68,6 @@ EXTRA_DIST += \
integer.ref.css \
no-semicolon.css \
no-semicolon.ref.css \
selector.css \
selector.ref.css \
simple.css
* {
int-property: 42;
}
* * {
int-property: 42;
}
* > * {
int-property: 42;
}
* b {
int-property: 42;
}
* > b {
int-property: 42;
}
*.b {
int-property: 42;
}
* .b {
int-property: 42;
}
* > .b {
int-property: 42;
}
*:hover {
int-property: 42;
}
* :hover {
int-property: 42;
}
* > :hover {
int-property: 42;
}
*#b {
int-property: 42;
}
* #b {
int-property: 42;
}
* > #b {
int-property: 42;
}
a {
int-property: 42;
}
a * {
int-property: 42;
}
a > * {
int-property: 42;
}
a b {
int-property: 42;
}
a > b {
int-property: 42;
}
a.b {
int-property: 42;
}
a .b {
int-property: 42;
}
a > .b {
int-property: 42;
}
a:hover {
int-property: 42;
}
a :hover {
int-property: 42;
}
a > :hover {
int-property: 42;
}
a#b {
int-property: 42;
}
a #b {
int-property: 42;
}
a > #b {
int-property: 42;
}
.a {
int-property: 42;
}
.a * {
int-property: 42;
}
.a > * {
int-property: 42;
}
.a b {
int-property: 42;
}
.a > b {
int-property: 42;
}
.a.b {
int-property: 42;
}
.a .b {
int-property: 42;
}
.a > .b {
int-property: 42;
}
.a:hover {
int-property: 42;
}
.a :hover {
int-property: 42;
}
.a > :hover {
int-property: 42;
}
.a#b {
int-property: 42;
}
.a #b {
int-property: 42;
}
.a > #b {
int-property: 42;
}
:hover {
int-property: 42;
}
:hover * {
int-property: 42;
}
:hover > * {
int-property: 42;
}
:hover b {
int-property: 42;
}
:hover > b {
int-property: 42;
}
:hover.b {
int-property: 42;
}
:hover .b {
int-property: 42;
}
:hover > .b {
int-property: 42;
}
:hover:hover {
int-property: 42;
}
:hover :hover {
int-property: 42;
}
:hover > :hover {
int-property: 42;
}
:hover#b {
int-property: 42;
}
:hover #b {
int-property: 42;
}
:hover > #b {
int-property: 42;
}
#a {
int-property: 42;
}
#a * {
int-property: 42;
}
#a > * {
int-property: 42;
}
#a b {
int-property: 42;
}
#a > b {
int-property: 42;
}
#a.b {
int-property: 42;
}
#a .b {
int-property: 42;
}
#a > .b {
int-property: 42;
}
#a:hover {
int-property: 42;
}
#a :hover {
int-property: 42;
}
#a > :hover {
int-property: 42;
}
#a#b {
int-property: 42;
}
#a #b {
int-property: 42;
}
#a > #b {
int-property: 42;
}
selector.css:201: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
* {
int-property: 42;
}
* * {
int-property: 42;
}
* > * {
int-property: 42;
}
* b {
int-property: 42;
}
* > b {
int-property: 42;
}
a {
int-property: 42;
}
a * {
int-property: 42;
}
a > * {
int-property: 42;
}
a b {
int-property: 42;
}
a > b {
int-property: 42;
}
.b {
int-property: 42;
}
* .b {
int-property: 42;
}
* > .b {
int-property: 42;
}
:hover {
int-property: 42;
}
* :hover {
int-property: 42;
}
* > :hover {
int-property: 42;
}
.a {
int-property: 42;
}
.a * {
int-property: 42;
}
.a > * {
int-property: 42;
}
:hover {
int-property: 42;
}
:hover * {
int-property: 42;
}
:hover > * {
int-property: 42;
}
:hover {
int-property: 42;
}
a.b {
int-property: 42;
}
a .b {
int-property: 42;
}
a > .b {
int-property: 42;
}
a:hover {
int-property: 42;
}
a :hover {
int-property: 42;
}
a > :hover {
int-property: 42;
}
.a b {
int-property: 42;
}
.a > b {
int-property: 42;
}
:hover b {
int-property: 42;
}
:hover > b {
int-property: 42;
}
.a.b {
int-property: 42;
}
.a .b {
int-property: 42;
}
.a > .b {
int-property: 42;
}
.a:hover {
int-property: 42;
}
.a :hover {
int-property: 42;
}
.a > :hover {
int-property: 42;
}
.b:hover {
int-property: 42;
}
:hover .b {
int-property: 42;
}
:hover > .b {
int-property: 42;
}
:hover :hover {
int-property: 42;
}
:hover > :hover {
int-property: 42;
}
#b {
int-property: 42;
}
* #b {
int-property: 42;
}
* > #b {
int-property: 42;
}
#a {
int-property: 42;
}
#a * {
int-property: 42;
}
#a > * {
int-property: 42;
}
a#b {
int-property: 42;
}
a #b {
int-property: 42;
}
a > #b {
int-property: 42;
}
#a b {
int-property: 42;
}
#a > b {
int-property: 42;
}
#b.a {
int-property: 42;
}
.a #b {
int-property: 42;
}
.a > #b {
int-property: 42;
}
#b:hover {
int-property: 42;
}
:hover #b {
int-property: 42;
}
:hover > #b {
int-property: 42;
}
#a.b {
int-property: 42;
}
#a .b {
int-property: 42;
}
#a > .b {
int-property: 42;
}
#a:hover {
int-property: 42;
}
#a :hover {
int-property: 42;
}
#a > :hover {
int-property: 42;
}
#a#b {
int-property: 42;
}
#a #b {
int-property: 42;
}
#a > #b {
int-property: 42;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment