[gtk+] Update css parser test for declarations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Update css parser test for declarations
- Date: Mon, 21 Dec 2015 19:24:19 +0000 (UTC)
commit dcc3dd12119b6a16b440fef7909683169f70c9d6
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 21 14:14:36 2015 -0500
Update css parser test for declarations
Use existing CSS properties instead of made-up ones.
testsuite/css/parser/declarations.css | 38 ++++++++++++++--------------
testsuite/css/parser/declarations.ref.css | 16 ++++++------
2 files changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/testsuite/css/parser/declarations.css b/testsuite/css/parser/declarations.css
index 05fc0e5..2a4d331 100644
--- a/testsuite/css/parser/declarations.css
+++ b/testsuite/css/parser/declarations.css
@@ -5,46 +5,46 @@ b { }
c {
}
-d { ; int-property: 42; }
+d { ; margin-top: 42px; }
e {
- int-property: 42;
+ margin-top: 42px;
;
;
;
- uint-property: 42;
+ padding-top: 42px;
}
f {
- int-property: 42
+ margin-top: 42px
}
-g { int-property: 42 }
+g { margin-top: 42px }
-h { int-property }
+h { margin-top }
-i { int-property; }
+i { margin-top; }
-j { int-property: }
+j { margin-top: }
-k { int-property : }
+k { margin-top : }
-l { int-property: ; }
+l { margin-top: ; }
-m { int-property:; }
+m { margin-top:; }
-n { int-property: ; }
+n { margin-top: ; }
-h { int-property uint-property: 42; }
+h { margin-top padding-top: 42px; }
-i { int-property; uint-property: 42; }
+i { margin-top; padding-top: 42px; }
-j { int-property: uint-property: 42; }
+j { margin-top: padding-top: 42px; }
-k { int-property : uint-property: 42; }
+k { margin-top : padding-top: 42px; }
-l { int-property: uint-property: 42; }
+l { margin-top: padding-top: 42px; }
-m { int-property:; uint-property: 42; }
+m { margin-top:; padding-top: 42px; }
-n { int-property: ; uint-property: 42; }
+n { margin-top: ; padding-top: 42px; }
diff --git a/testsuite/css/parser/declarations.ref.css b/testsuite/css/parser/declarations.ref.css
index 9274798..19fb63f 100644
--- a/testsuite/css/parser/declarations.ref.css
+++ b/testsuite/css/parser/declarations.ref.css
@@ -1,28 +1,28 @@
d {
- int-property: 42;
+ margin-top: 42px;
}
e {
- int-property: 42;
- uint-property: 42;
+ margin-top: 42px;
+ padding-top: 42px;
}
f {
- int-property: 42;
+ margin-top: 42px;
}
g {
- int-property: 42;
+ margin-top: 42px;
}
i {
- uint-property: 42;
+ padding-top: 42px;
}
m {
- uint-property: 42;
+ padding-top: 42px;
}
n {
- uint-property: 42;
+ padding-top: 42px;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]