]> Pileus Git - ~andy/gtk/commitdiff
tests: Update CSS tests for borders
authorBenjamin Otte <otte@redhat.com>
Sun, 15 Jan 2012 18:47:38 +0000 (19:47 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 Feb 2012 02:14:00 +0000 (03:14 +0100)
Borders now expect 'px'.

tests/css/parser/border-radius.css
tests/css/parser/border-radius.ref.css
tests/css/parser/declarations-valid-16.css
tests/css/parser/declarations-valid-16.ref.css
tests/css/parser/shorthand.css
tests/css/parser/shorthand.ref.css

index 7a3312fcf7b47a1d9d43e67449fc9e77029dff47..5dd8fb0efefae927ad460b6846a8efbca25a964c 100644 (file)
@@ -1,45 +1,45 @@
 a {
-  border-radius: 1;
+  border-radius: 1px;
 }
 
 b {
-  border-radius: 1 2;
+  border-radius: 1px 2px;
 }
 
 c {
-  border-radius: 1 2 3;
+  border-radius: 1px 2px 3px;
 }
 
 d {
-  border-radius: 1 2 3 4;
+  border-radius: 1px 2px 3px 4px;
 }
 
 e {
-  border-radius: 1 2 3 4 / 5;
+  border-radius: 1px 2px 3px 4px / 5px;
 }
 
 f {
-  border-radius: 1 2 3 4 / 5 6;
+  border-radius: 1px 2px 3px 4px / 5px 6px;
 }
 
 g {
-  border-radius: 1 2 3 4 / 5 6 7;
+  border-radius: 1px 2px 3px 4px / 5px 6px 7px;
 }
 
 h {
-  border-radius: 1 2 3 4 / 5 6 7 8;
+  border-radius: 1px 2px 3px 4px / 5px 6px 7px 8px;
 }
 
 i {
-  border-radius: 1.125 / 5.5;
+  border-radius: 1.125px / 5.5px;
 }
 
 j {
-  border-radius: 1 2.25 / 5;
+  border-radius: 1px 2.25px / 5px;
 }
 
 k {
-  border-radius: 1 2 3.5 / 5.5 6.75;
+  border-radius: 1px 2px 3.5px / 5.5px 6.75px;
 }
 
 l {
@@ -51,45 +51,45 @@ m {
 }
 
 n {
-  border-radius: 0 / 1;
+  border-radius: 0 / 1px;
 }
 
 o {
-  border-radius: 1 / 0;
+  border-radius: 1px / 0;
 }
 
 /* errors go here */
 
 ea {
-  border-radius: -1 1 1 1 / 1 1 1 1;
+  border-radius: -1px 1px 1px 1px / 1px 1px 1px 1px;
 }
 
 eb {
-  border-radius: 1 -1 1 1 / 1 1 1 1;
+  border-radius: 1px -1px 1px 1px / 1px 1px 1px 1px;
 }
 
 ec {
-  border-radius: 1 1 -1 1 / 1 1 1 1;
+  border-radius: 1px 1px -1px 1px / 1px 1px 1px 1px;
 }
 
 ed {
-  border-radius: 1 1 1 -1 / 1 1 1 1;
+  border-radius: 1px 1px 1px -1px / 1px 1px 1px 1px;
 }
 
 ee {
-  border-radius: 1 1 1 1 / -1 1 1 1;
+  border-radius: 1px 1px 1px 1px / -1px 1px 1px 1px;
 }
 
 ef {
-  border-radius: 1 1 1 1 / 1 -1 1 1;
+  border-radius: 1px 1px 1px 1px / 1px -1px 1px 1px;
 }
 
 eg {
-  border-radius: 1 1 1 1 / 1 1 -1 1;
+  border-radius: 1px 1px 1px 1px / 1px 1px -1px 1px;
 }
 
 eh {
-  border-radius: 1 1 1 1 / 1 1 1 -1;
+  border-radius: 1px 1px 1px 1px / 1px 1px 1px -1px;
 }
 
 ei {
@@ -101,13 +101,13 @@ ej {
 }
 
 ek {
-  border-radius: 1 /;
+  border-radius: 1px /;
 }
 
 el {
-  border-radius: 1 2 3 4 5;
+  border-radius: 1px 2px 3px 4px 5px;
 }
 
 em {
-  border-radius: 1 2 / 1 2 3 4 5;
+  border-radius: 1px 2px / 1px 2px 3px 4px 5px;
 }
index 14f7f0408e07bc8c7c320d7300c1306dff052d22..51a211d40832810d5a06f57dbd72c608f3bd3663 100644 (file)
@@ -1,78 +1,78 @@
 a {
-  border-bottom-left-radius: 1;
-  border-bottom-right-radius: 1;
-  border-top-left-radius: 1;
-  border-top-right-radius: 1;
+  border-bottom-left-radius: 1px;
+  border-bottom-right-radius: 1px;
+  border-top-left-radius: 1px;
+  border-top-right-radius: 1px;
 }
 
 b {
-  border-bottom-left-radius: 2;
-  border-bottom-right-radius: 1;
-  border-top-left-radius: 1;
-  border-top-right-radius: 2;
+  border-bottom-left-radius: 2px;
+  border-bottom-right-radius: 1px;
+  border-top-left-radius: 1px;
+  border-top-right-radius: 2px;
 }
 
 c {
-  border-bottom-left-radius: 2;
-  border-bottom-right-radius: 3;
-  border-top-left-radius: 1;
-  border-top-right-radius: 2;
+  border-bottom-left-radius: 2px;
+  border-bottom-right-radius: 3px;
+  border-top-left-radius: 1px;
+  border-top-right-radius: 2px;
 }
 
 d {
-  border-bottom-left-radius: 4;
-  border-bottom-right-radius: 3;
-  border-top-left-radius: 1;
-  border-top-right-radius: 2;
+  border-bottom-left-radius: 4px;
+  border-bottom-right-radius: 3px;
+  border-top-left-radius: 1px;
+  border-top-right-radius: 2px;
 }
 
 e {
-  border-bottom-left-radius: 4 5;
-  border-bottom-right-radius: 3 5;
-  border-top-left-radius: 1 5;
-  border-top-right-radius: 2 5;
+  border-bottom-left-radius: 4px 5px;
+  border-bottom-right-radius: 3px 5px;
+  border-top-left-radius: 1px 5px;
+  border-top-right-radius: 2px 5px;
 }
 
 f {
-  border-bottom-left-radius: 4 6;
-  border-bottom-right-radius: 3 5;
-  border-top-left-radius: 1 5;
-  border-top-right-radius: 2 6;
+  border-bottom-left-radius: 4px 6px;
+  border-bottom-right-radius: 3px 5px;
+  border-top-left-radius: 1px 5px;
+  border-top-right-radius: 2px 6px;
 }
 
 g {
-  border-bottom-left-radius: 4 6;
-  border-bottom-right-radius: 3 7;
-  border-top-left-radius: 1 5;
-  border-top-right-radius: 2 6;
+  border-bottom-left-radius: 4px 6px;
+  border-bottom-right-radius: 3px 7px;
+  border-top-left-radius: 1px 5px;
+  border-top-right-radius: 2px 6px;
 }
 
 h {
-  border-bottom-left-radius: 4 8;
-  border-bottom-right-radius: 3 7;
-  border-top-left-radius: 1 5;
-  border-top-right-radius: 2 6;
+  border-bottom-left-radius: 4px 8px;
+  border-bottom-right-radius: 3px 7px;
+  border-top-left-radius: 1px 5px;
+  border-top-right-radius: 2px 6px;
 }
 
 i {
-  border-bottom-left-radius: 1.125 5.5;
-  border-bottom-right-radius: 1.125 5.5;
-  border-top-left-radius: 1.125 5.5;
-  border-top-right-radius: 1.125 5.5;
+  border-bottom-left-radius: 1.125px 5.5px;
+  border-bottom-right-radius: 1.125px 5.5px;
+  border-top-left-radius: 1.125px 5.5px;
+  border-top-right-radius: 1.125px 5.5px;
 }
 
 j {
-  border-bottom-left-radius: 2.25 5;
-  border-bottom-right-radius: 1 5;
-  border-top-left-radius: 1 5;
-  border-top-right-radius: 2.25 5;
+  border-bottom-left-radius: 2.25px 5px;
+  border-bottom-right-radius: 1px 5px;
+  border-top-left-radius: 1px 5px;
+  border-top-right-radius: 2.25px 5px;
 }
 
 k {
-  border-bottom-left-radius: 2 6.75;
-  border-bottom-right-radius: 3.5 5.5;
-  border-top-left-radius: 1 5.5;
-  border-top-right-radius: 2 6.75;
+  border-bottom-left-radius: 2px 6.75px;
+  border-bottom-right-radius: 3.5px 5.5px;
+  border-top-left-radius: 1px 5.5px;
+  border-top-right-radius: 2px 6.75px;
 }
 
 l {
@@ -90,15 +90,15 @@ m {
 }
 
 n {
-  border-bottom-left-radius: 0 1;
-  border-bottom-right-radius: 0 1;
-  border-top-left-radius: 0 1;
-  border-top-right-radius: 0 1;
+  border-bottom-left-radius: 0 1px;
+  border-bottom-right-radius: 0 1px;
+  border-top-left-radius: 0 1px;
+  border-top-right-radius: 0 1px;
 }
 
 o {
-  border-bottom-left-radius: 1 0;
-  border-bottom-right-radius: 1 0;
-  border-top-left-radius: 1 0;
-  border-top-right-radius: 1 0;
+  border-bottom-left-radius: 1px 0;
+  border-bottom-right-radius: 1px 0;
+  border-top-left-radius: 1px 0;
+  border-top-right-radius: 1px 0;
 }
index deff898c6cd1342cab31b367cdac568413697845..fe8a64e8196142c5b43dc745ff180fe27ed08caf 100644 (file)
@@ -1 +1 @@
-* { border-width: 5; border-radius: 10 }
+* { border-width: 5em; border-radius: 10ex }
index 215fde7f738279fad448710e91b35cc4d8a9e3ce..10c32c1d7dec620a0171927a441c158e00dbd58d 100644 (file)
@@ -1,10 +1,10 @@
 * {
-  border-bottom-left-radius: 10;
-  border-bottom-right-radius: 10;
-  border-bottom-width: 5;
-  border-left-width: 5;
-  border-right-width: 5;
-  border-top-left-radius: 10;
-  border-top-right-radius: 10;
-  border-top-width: 5;
+  border-bottom-left-radius: 10ex;
+  border-bottom-right-radius: 10ex;
+  border-bottom-width: 5em;
+  border-left-width: 5em;
+  border-right-width: 5em;
+  border-top-left-radius: 10ex;
+  border-top-right-radius: 10ex;
+  border-top-width: 5em;
 }
index 5a207352f8ad40b2f001e1679006ff3f4a52f879..a61393a18e575eb9f078e8cf58fa4c6610ead86a 100644 (file)
@@ -1,5 +1,5 @@
 /* need to use an existing shorthand, the public API doesn't
  * allow custom ones */
 a {
-  border-width: 1 2 3;
+  border-width: 1pc 2pt 3em;
 }
index a2f349ba3564ed5c8316a06f7b82c2a1dee6e122..e592a7dd006c253f95707be6e67b910523bf4006 100644 (file)
@@ -1,6 +1,6 @@
 a {
-  border-bottom-width: 3;
-  border-left-width: 2;
-  border-right-width: 2;
-  border-top-width: 1;
+  border-bottom-width: 3em;
+  border-left-width: 2pt;
+  border-right-width: 2pt;
+  border-top-width: 1pc;
 }