testsuite: Add test for pseudoclasses

They should all be printable.
This commit is contained in:
Benjamin Otte 2014-07-21 19:48:01 +02:00
parent 09a1d983d4
commit 3661756070
3 changed files with 103 additions and 0 deletions

View File

@ -325,6 +325,7 @@ test_data = \
property-name-errors.css \ property-name-errors.css \
property-name-errors.errors \ property-name-errors.errors \
property-name-errors.ref.css \ property-name-errors.ref.css \
pseudo-classes-known.css \
pseudo-classes-unknown.css \ pseudo-classes-unknown.css \
pseudo-classes-unknown.errors \ pseudo-classes-unknown.errors \
pseudo-classes-unknown.ref.css \ pseudo-classes-unknown.ref.css \

View File

@ -0,0 +1,51 @@
:active {
color: red;
}
:prelight {
color: red;
}
:hover {
color: red;
}
:selected {
color: red;
}
:insensitive {
color: red;
}
:inconsistent {
color: red;
}
:focused {
color: red;
}
:focus {
color: red;
}
:backdrop {
color: red;
}
:dir(ltr) {
color: red;
}
:dir(rtl) {
color: red;
}
:link {
color: red;
}
:visited {
color: red;
}

View File

@ -0,0 +1,51 @@
:active {
color: rgb(255,0,0);
}
:hover {
color: rgb(255,0,0);
}
:hover {
color: rgb(255,0,0);
}
:selected {
color: rgb(255,0,0);
}
:insensitive {
color: rgb(255,0,0);
}
:inconsistent {
color: rgb(255,0,0);
}
:focus {
color: rgb(255,0,0);
}
:focus {
color: rgb(255,0,0);
}
:backdrop {
color: rgb(255,0,0);
}
:dir(ltr) {
color: rgb(255,0,0);
}
:dir(rtl) {
color: rgb(255,0,0);
}
:link {
color: rgb(255,0,0);
}
:visited {
color: rgb(255,0,0);
}