diff options
author | Dodji Seketeli <dodji@src.gnome.org> | 2003-05-06 21:10:39 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@src.gnome.org> | 2003-05-06 21:10:39 +0000 |
commit | 07dd089c5977631aefdb117c504f6a93dfa30fd2 (patch) | |
tree | 8ac21540b705c23f26560ea278d7d2c34fcebb26 /tests | |
parent | cca5c1f335c380ad6bfcbbc8fe29022b646376d6 (diff) | |
download | libcroco-07dd089c5977631aefdb117c504f6a93dfa30fd2.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test7-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |