From: Benjamin Otte Date: Tue, 17 Jan 2012 16:12:32 +0000 (+0100) Subject: tests: Add 'px' to css tests X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=2fdadb053c101b30bde838de4f7593063e90b38b;p=~andy%2Fgtk tests: Add 'px' to css tests --- diff --git a/tests/css/parser/border-shorthand.ref.css b/tests/css/parser/border-shorthand.ref.css index a37d11a3a..616354c43 100644 --- a/tests/css/parser/border-shorthand.ref.css +++ b/tests/css/parser/border-shorthand.ref.css @@ -1,13 +1,13 @@ a { border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; } b { border-bottom-color: initial; border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; } c { @@ -16,51 +16,51 @@ c { border-bottom-width: initial; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; } d { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } e { border-top-color: initial; border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } f { border-bottom-color: rgb(255,192,203); border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: initial; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: initial; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } g { @@ -72,13 +72,13 @@ g { h { border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } i { border-bottom-color: initial; border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; border-right-width: initial; @@ -93,26 +93,26 @@ j { k { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; } l { border-bottom-color: initial; border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: initial; border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: initial; border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: initial; border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } m { @@ -121,29 +121,29 @@ m { border-bottom-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } n { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } o { @@ -155,29 +155,29 @@ o { p { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-right-color: initial; border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; } q { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } r { @@ -186,29 +186,29 @@ r { border-bottom-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: initial; border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; } s { border-bottom-color: rgb(255,192,203); border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: initial; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: initial; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } t { @@ -233,13 +233,13 @@ t { u { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; } v { border-top-color: rgb(255,192,203); border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } w { @@ -251,16 +251,16 @@ w { x { border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } y { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-right-color: initial; border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; } z { @@ -275,37 +275,37 @@ ab { border-right-width: initial; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } bb { border-bottom-color: initial; border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; } cb { border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; } db { border-bottom-color: rgb(255,192,203); border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; } eb { border-left-color: initial; border-left-style: initial; - border-left-width: 3; + border-left-width: 3px; } fb { border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; border-top-width: initial; @@ -314,10 +314,10 @@ fb { gb { border-right-color: rgb(255,192,203); border-right-style: initial; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } hb { @@ -329,16 +329,16 @@ hb { ib { border-bottom-color: initial; border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; } jb { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; } kb { @@ -357,25 +357,25 @@ kb { border-right-width: initial; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } lb { border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } mb { border-right-color: rgb(255,192,203); border-right-style: initial; - border-right-width: 3; + border-right-width: 3px; } nb { border-top-color: initial; border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } ob { @@ -384,16 +384,16 @@ ob { border-bottom-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } pb { border-bottom-color: rgb(255,192,203); border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; border-top-color: rgb(255,192,203); border-top-style: initial; border-top-width: initial; @@ -402,26 +402,26 @@ pb { qb { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: initial; border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } rb { border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; } sb { @@ -439,64 +439,64 @@ tb { ub { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } vb { border-right-color: initial; border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; } wb { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } xb { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: initial; - border-left-width: 3; + border-left-width: 3px; border-right-color: initial; border-right-style: initial; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } yb { @@ -508,10 +508,10 @@ yb { zb { border-bottom-color: rgb(255,192,203); border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; } ac { @@ -536,45 +536,45 @@ ac { bc { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: initial; border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } cc { border-bottom-color: initial; border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: initial; border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: initial; border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: initial; border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } dc { border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; } ec { @@ -583,16 +583,16 @@ ec { border-bottom-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-top-color: initial; border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } fc { border-bottom-color: rgb(255,192,203); border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; } gc { @@ -604,60 +604,60 @@ gc { hc { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; } ic { border-bottom-color: initial; border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; } jc { border-bottom-color: initial; border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } kc { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-left-color: rgb(255,192,203); border-left-style: initial; - border-left-width: 3; + border-left-width: 3px; } lc { border-bottom-color: initial; border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: initial; border-left-style: initial; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: initial; border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } mc { @@ -666,64 +666,64 @@ mc { border-bottom-width: initial; border-top-color: rgb(255,192,203); border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } nc { border-bottom-color: rgb(255,192,203); border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: initial; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: initial; border-right-width: initial; border-top-color: rgb(255,192,203); border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } oc { border-bottom-color: rgb(255,192,203); border-bottom-style: solid; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: solid; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: solid; border-right-width: initial; border-top-color: initial; border-top-style: solid; - border-top-width: 3; + border-top-width: 3px; } pc { border-bottom-color: rgb(255,192,203); border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: initial; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: initial; - border-right-width: 3; + border-right-width: 3px; border-top-color: initial; border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } qc { @@ -739,7 +739,7 @@ qc { border-left-width: initial; border-right-color: rgb(255,192,203); border-right-style: solid; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: solid; border-top-width: initial; @@ -748,20 +748,20 @@ qc { rc { border-bottom-color: rgb(255,192,203); border-bottom-style: initial; - border-bottom-width: 3; + border-bottom-width: 3px; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-left-color: rgb(255,192,203); border-left-style: initial; - border-left-width: 3; + border-left-width: 3px; border-right-color: rgb(255,192,203); border-right-style: initial; - border-right-width: 3; + border-right-width: 3px; border-top-color: rgb(255,192,203); border-top-style: initial; - border-top-width: 3; + border-top-width: 3px; } sc { diff --git a/tests/css/parser/declarations-valid-10.css b/tests/css/parser/declarations-valid-10.css index 9591970e3..8ecb71163 100644 --- a/tests/css/parser/declarations-valid-10.css +++ b/tests/css/parser/declarations-valid-10.css @@ -1 +1 @@ -* { margin: 5 } +* { margin: 5px } diff --git a/tests/css/parser/declarations-valid-10.ref.css b/tests/css/parser/declarations-valid-10.ref.css index d0fdbf074..eb5bc7546 100644 --- a/tests/css/parser/declarations-valid-10.ref.css +++ b/tests/css/parser/declarations-valid-10.ref.css @@ -1,6 +1,6 @@ * { - margin-bottom: 5; - margin-left: 5; - margin-right: 5; - margin-top: 5; + margin-bottom: 5px; + margin-left: 5px; + margin-right: 5px; + margin-top: 5px; } diff --git a/tests/css/parser/declarations-valid-11.css b/tests/css/parser/declarations-valid-11.css index 4eb99737f..975401f56 100644 --- a/tests/css/parser/declarations-valid-11.css +++ b/tests/css/parser/declarations-valid-11.css @@ -1 +1 @@ -* { margin: 5 10 } +* { margin: 5px 10px } diff --git a/tests/css/parser/declarations-valid-11.ref.css b/tests/css/parser/declarations-valid-11.ref.css index 83ce35b7e..16c4b1bbf 100644 --- a/tests/css/parser/declarations-valid-11.ref.css +++ b/tests/css/parser/declarations-valid-11.ref.css @@ -1,6 +1,6 @@ * { - margin-bottom: 5; - margin-left: 10; - margin-right: 10; - margin-top: 5; + margin-bottom: 5px; + margin-left: 10px; + margin-right: 10px; + margin-top: 5px; } diff --git a/tests/css/parser/declarations-valid-12.css b/tests/css/parser/declarations-valid-12.css index 022ae30eb..a9c63a9da 100644 --- a/tests/css/parser/declarations-valid-12.css +++ b/tests/css/parser/declarations-valid-12.css @@ -1 +1 @@ -* { margin: 5 10 3 } +* { margin: 5px 10px 3px } diff --git a/tests/css/parser/declarations-valid-12.ref.css b/tests/css/parser/declarations-valid-12.ref.css index daafbf9f6..08d846be8 100644 --- a/tests/css/parser/declarations-valid-12.ref.css +++ b/tests/css/parser/declarations-valid-12.ref.css @@ -1,6 +1,6 @@ * { - margin-bottom: 3; - margin-left: 10; - margin-right: 10; - margin-top: 5; + margin-bottom: 3px; + margin-left: 10px; + margin-right: 10px; + margin-top: 5px; } diff --git a/tests/css/parser/declarations-valid-13.css b/tests/css/parser/declarations-valid-13.css index 252547f59..15a4776a3 100644 --- a/tests/css/parser/declarations-valid-13.css +++ b/tests/css/parser/declarations-valid-13.css @@ -1 +1 @@ -* { margin: 5 10 3 5 } +* { margin: 5px 10px 3px 5px } diff --git a/tests/css/parser/declarations-valid-13.ref.css b/tests/css/parser/declarations-valid-13.ref.css index 481a2dd60..e0a32a3e8 100644 --- a/tests/css/parser/declarations-valid-13.ref.css +++ b/tests/css/parser/declarations-valid-13.ref.css @@ -1,6 +1,6 @@ * { - margin-bottom: 3; - margin-left: 5; - margin-right: 10; - margin-top: 5; + margin-bottom: 3px; + margin-left: 5px; + margin-right: 10px; + margin-top: 5px; }