[gtk+/wip/css-tree] css: Make test pass



commit 0542d5461fdf12be290747b66f4680c48c7e523b
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]