summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-11-30 14:18:39 +0100
committerAlexander Larsson <alexl@redhat.com>2012-11-30 14:18:39 +0100
commit0542d5461fdf12be290747b66f4680c48c7e523b (patch)
tree02078c0d21536b7f3c4d1d4e629af2a48523a95a
parent28033a25dd9cd3a7ab0d855826137af3d4fc94a8 (diff)
downloadgtk+-wip/css-tree.tar.gz
css: Make test passwip/css-tree
The new css tree may change the order of selectors (keeping the same semantics). This affects how the selectors are printed later, which causes some css parsing tests to not match the references. Fortunately the order is consistent between runs given the same css, so we just have to switch around the order in some of the .ref.css files.
-rw-r--r--tests/css/parser/selector.ref.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/css/parser/selector.ref.css b/tests/css/parser/selector.ref.css
index 1540d66492..db7e5101fe 100644
--- a/tests/css/parser/selector.ref.css
+++ b/tests/css/parser/selector.ref.css
@@ -262,7 +262,7 @@ a ~ :hover {
int-property: 42;
}
-:hover.b {
+.b:hover {
int-property: 42;
}
@@ -398,7 +398,7 @@ a ~ #b {
int-property: 42;
}
-:hover#b {
+#b:hover {
int-property: 42;
}