diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am index 4e1e11cc4f..6ad435c444 100644 --- a/tests/reftests/Makefile.am +++ b/tests/reftests/Makefile.am @@ -35,6 +35,9 @@ EXTRA_DIST += \ css-match-name.css \ css-match-name.ref.ui \ css-match-name.ui \ + css-match-regions.css \ + css-match-regions.ref.ui \ + css-match-regions.ui \ css-match-subtype.css \ css-match-subtype.ref.ui \ css-match-subtype.ui \ diff --git a/tests/reftests/css-match-regions.css b/tests/reftests/css-match-regions.css new file mode 100644 index 0000000000..901534fde0 --- /dev/null +++ b/tests/reftests/css-match-regions.css @@ -0,0 +1,19 @@ +* { + color: blue; +} + +.notebook tab GtkLabel { + color: blue +} +.notebook tab tab GtkLabel { + color: red +} + +/* for reference */ +#blue { + color: blue +} + +#red { + color: red +} diff --git a/tests/reftests/css-match-regions.ref.ui b/tests/reftests/css-match-regions.ref.ui new file mode 100644 index 0000000000..84cce501ee --- /dev/null +++ b/tests/reftests/css-match-regions.ref.ui @@ -0,0 +1,71 @@ + + + + + False + popup + + + True + True + + + True + False + Normal + + + + + True + False + Blue + blue + + + False + + + + + True + False + Normal + + + 1 + + + + + True + True + + + True + False + Blue + blue + + + + + True + False + Red + red + + + False + + + + + 1 + False + + + + + + diff --git a/tests/reftests/css-match-regions.ui b/tests/reftests/css-match-regions.ui new file mode 100644 index 0000000000..e0abc17758 --- /dev/null +++ b/tests/reftests/css-match-regions.ui @@ -0,0 +1,68 @@ + + + + + False + popup + + + True + True + + + True + False + Normal + + + + + True + False + Blue + + + False + + + + + True + False + Normal + + + 1 + + + + + True + True + + + True + False + Blue + + + + + True + False + Red + + + False + + + + + 1 + False + + + + + +