summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2003-05-17 12:56:37 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-05-17 12:56:37 +0000
commit6a34b841935e6d58ae79ff0bc93810acbeaa3308 (patch)
tree0a4e95c6c9b314ee056a8edf3cc8d4fed98b6c2b /tests
parent92ae22451060072a5889506a96457a05a8f167f4 (diff)
downloadlibcroco-6a34b841935e6d58ae79ff0bc93810acbeaa3308.tar.gz
Added the support of "padding" and "margin" shorthand properties.
Dodji.
Diffstat (limited to 'tests')
-rw-r--r--tests/test7-main.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/test7-main.c b/tests/test7-main.c
index de133fa..fe823d3 100644
--- a/tests/test7-main.c
+++ b/tests/test7-main.c
@@ -48,6 +48,7 @@ const guchar *gv_xmlbuf =
const guchar *gv_xmlbuf =
"<ARTICLE>"
" <HEADLINE>Fredrick the Great meets Bach</HEADLINE>"
+" <PARA>Wow, and this css2 tests seems to work ;)</PARA>"
" <AUTHOR>Johann Nikolaus Forkel</AUTHOR>"
"</ARTICLE>"
;
@@ -55,15 +56,17 @@ const guchar *gv_cssbuf =
"INSTRUMENT { display: inline}"
"ARTICLE, HEADLINE, AUTHOR, PARA "
"{ "
-" margin-top: 10px ;"
-" margin-left: 10px ;"
-" margin-bottom: 15px ;"
-" margin-right: 15px ;"
+" margin: 5px 35px;"
" display: block ; "
" position: static; "
" background-color: coral ;"
-" border: solid yellow"
+" border: solid yellow thick;"
+
/*
+" margin-top: 10px ;"
+" margin-left: 10px ;"
+" margin-bottom: 15px ;"
+" margin-right: 15px ;"
" border-top-width: thick ;"
" border-top-style: solid ;"
" border-right-width: thin ;"