From 07dd089c5977631aefdb117c504f6a93dfa30fd2 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 6 May 2003 21:10:39 +0000 Subject: just added a test for the "background-color" property. * tests/test7-main.c: just added a test for the "background-color" property. * src/layeng/cr-box-view.c: (set_color ()) added this function to manage the setting of rgb color in an easier way than set_background/foreground(). (set_border_line_attrs ()) implemented the border-x-color property setting in this function. This uses the new set_color () function. (draw_padding ()) revisited this function to make it draw a padding area that has "background" color. Dodji. --- tests/test7-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test7-main.c b/tests/test7-main.c index ca4dbe3..3090f77 100644 --- a/tests/test7-main.c +++ b/tests/test7-main.c @@ -53,7 +53,7 @@ const guchar *gv_xmlbuf = ; const guchar *gv_cssbuf = "INSTRUMENT { display: inline}" -"ARTICLE, HEADLINE, AUTHOR, PARA { display: block ; position: static}" +"ARTICLE, HEADLINE, AUTHOR, PARA { display: block ; position: static; background-color: rgb(255,0,0)}" ; static enum CRStatus -- cgit v1.2.1