[gtk+] css: Make test pass



commit e36f80f0efbe2b302026d1bf1998a0e6eca9c37f
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Nov 30 14:18:39 2012 +0100

    css: Make test pass
    
    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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/css/parser/selector.ref.css b/tests/css/parser/selector.ref.css
index 1540d66..db7e510 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;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]