]> Pileus Git - ~andy/gtk/commitdiff
css: Make test pass
authorAlexander Larsson <alexl@redhat.com>
Fri, 30 Nov 2012 13:18:39 +0000 (14:18 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 30 Nov 2012 13:53:30 +0000 (14:53 +0100)
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.

tests/css/parser/selector.ref.css

index 1540d66492b87f8929796180c2c21ab3cbe01a3f..db7e5101fe8968db6e1d2bb0a7f4e4a68bca7e2b 100644 (file)
@@ -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;
 }