From 7b6c68adc68389e7295f2fc9cf5b9799ee242a56 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 1 Dec 2014 04:04:08 +0100 Subject: [PATCH] testsuite: Fix test that was committed in a broken state 1) Use font-size instead of color This makes it easier to compare reference and test because the values don't change. 2) Actually sort the reference properly This unbreaks the test. --- testsuite/css/parser/not.css | 40 +++++------ testsuite/css/parser/not.ref.css | 111 +++++++++++++++---------------- 2 files changed, 75 insertions(+), 76 deletions(-) diff --git a/testsuite/css/parser/not.css b/testsuite/css/parser/not.css index 59da972028..e67c3f39ff 100644 --- a/testsuite/css/parser/not.css +++ b/testsuite/css/parser/not.css @@ -1,80 +1,80 @@ :not(*) { - color: tomato; + font-size: 1px; } :not(GtkButton) { - color: tomato; + font-size: 2px; } :not(:hover) { - color: tomato; + font-size: 3px; } :not(.yourmom) { - color: tomato; + font-size: 4px; } :not(#yourmom) { - color: tomato; + font-size: 5px; } :not( *) { - color: tomato; + font-size: 6px; } :not( GtkButton) { - color: tomato; + font-size: 7px; } :not( :hover) { - color: tomato; + font-size: 8px; } :not( .yourmom) { - color: tomato; + font-size: 9px; } :not( #yourmom) { - color: tomato; + font-size: 10px; } :not(* ) { - color: tomato; + font-size: 11px; } :not(GtkButton ) { - color: tomato; + font-size: 12px; } :not(:hover ) { - color: tomato; + font-size: 13px; } :not(.yourmom ) { - color: tomato; + font-size: 14px; } :not(#yourmom ) { - color: tomato; + font-size: 15px; } :not( * ) { - color: tomato; + font-size: 16px; } :not( GtkButton ) { - color: tomato; + font-size: 17px; } :not( :hover ) { - color: tomato; + font-size: 18px; } :not( .yourmom ) { - color: tomato; + font-size: 19px; } :not( #yourmom ) { - color: tomato; + font-size: 20px; } diff --git a/testsuite/css/parser/not.ref.css b/testsuite/css/parser/not.ref.css index 7cb0fb3e9c..c369a26fe2 100644 --- a/testsuite/css/parser/not.ref.css +++ b/testsuite/css/parser/not.ref.css @@ -1,80 +1,79 @@ :not(*) { - color: rgb(255,99,71); -} - -:not(GtkButton) { - color: rgb(255,99,71); -} - -:not(:hover) { - color: rgb(255,99,71); -} - -:not(.yourmom) { - color: rgb(255,99,71); -} - -:not(#yourmom) { - color: rgb(255,99,71); + font-size: 1px; } :not(*) { - color: rgb(255,99,71); -} - -:not(GtkButton) { - color: rgb(255,99,71); -} - -:not(:hover) { - color: rgb(255,99,71); -} - -:not(.yourmom) { - color: rgb(255,99,71); -} - -:not(#yourmom) { - color: rgb(255,99,71); + font-size: 6px; } :not(*) { - color: rgb(255,99,71); -} - -:not(GtkButton) { - color: rgb(255,99,71); -} - -:not(:hover) { - color: rgb(255,99,71); -} - -:not(.yourmom) { - color: rgb(255,99,71); -} - -:not(#yourmom) { - color: rgb(255,99,71); + font-size: 11px; } :not(*) { - color: rgb(255,99,71); + font-size: 16px; } :not(GtkButton) { - color: rgb(255,99,71); + font-size: 2px; +} + +:not(GtkButton) { + font-size: 7px; +} + +:not(GtkButton) { + font-size: 12px; +} + +:not(GtkButton) { + font-size: 17px; } :not(:hover) { - color: rgb(255,99,71); + font-size: 3px; } :not(.yourmom) { - color: rgb(255,99,71); + font-size: 4px; +} + +:not(:hover) { + font-size: 8px; +} + +:not(.yourmom) { + font-size: 9px; +} + +:not(:hover) { + font-size: 13px; +} + +:not(.yourmom) { + font-size: 14px; +} + +:not(:hover) { + font-size: 18px; +} + +:not(.yourmom) { + font-size: 19px; } :not(#yourmom) { - color: rgb(255,99,71); + font-size: 5px; } +:not(#yourmom) { + font-size: 10px; +} + +:not(#yourmom) { + font-size: 15px; +} + +:not(#yourmom) { + font-size: 20px; +}