summaryrefslogtreecommitdiff
path: root/tests/test7-main.c
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2003-05-24 14:03:37 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-05-24 14:03:37 +0000
commitafa6f234575c36aa90c21ffff46f662c3b083404 (patch)
tree09e48663cb44aa86d00d8c061bb237b5346cee31 /tests/test7-main.c
parent309d87add9f2f2bf9f7f1d1083cb4349e731a685 (diff)
downloadlibcroco-afa6f234575c36aa90c21ffff46f662c3b083404.tar.gz
fixed a small (but nasty) rendering bug.
Dodji.
Diffstat (limited to 'tests/test7-main.c')
-rw-r--r--tests/test7-main.c34
1 files changed, 25 insertions, 9 deletions
diff --git a/tests/test7-main.c b/tests/test7-main.c
index b2c826b..daafbd2 100644
--- a/tests/test7-main.c
+++ b/tests/test7-main.c
@@ -54,13 +54,29 @@ const guchar *gv_xmlbuf =
;
const guchar *gv_cssbuf =
"INSTRUMENT { display: inline}"
-"ARTICLE, HEADLINE, AUTHOR, PARA "
-"{ "
-" margin: 5px 35px;"
-" display: block ; "
-" position: static; "
-" background-color: coral ;"
-" border: solid yellow thick;"
+"ARTICLE, HEADLINE, AUTHOR, PARA"
+"{"
+" display: block ;"
+" position: static; "
+"}"
+
+"ARTICLE"
+"{"
+" background-color: white;"
+"}"
+
+"HEADLINE"
+"{"
+" background-color: blue;"
+" border: solid black thin;"
+"}"
+
+"PARA"
+"{"
+" background-color: pink;"
+" margin-left: 20px; "
+"}"
+;
/*
" margin-top: 10px ;"
@@ -76,8 +92,8 @@ const guchar *gv_cssbuf =
" border-left-width: thick ;"
" border-left-style: solid ;"
*/
-"}"
-;
+
+
static enum CRStatus
test_layout_box (void) ;