From 7ecab92e9a8508c44a758a8ca58defe9a5965bb4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 14 Feb 2009 00:06:01 +0000 Subject: A motley selection of changes. Vague summary: + Add config makefile (not that there's anything to configure at present :) + Fix dumping of UNIT_MS to actually use sprintf and not printf + Extend computed style dumping (still loads of properties missing) + Make result buffer larger in select-auto.c -- avoids buffer overflows when there's way more output than expected + Expand expected test output to contain defaulted properties (more of this will be needed once the computed style dumping is complete) + Store interned string pointers in css_select_state. + Intern pseudo class/element names at start of selecting styles for a sheet + Group properties so we know which ones appear in the extension blocks + Fixup unset properties once the cascade has completed + Implement matching of pseudo class/element selectors + Fix setting of background-image and list-style-image when there's no URL. svn path=/trunk/libcss/; revision=6470 --- test/dump.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/dump.h') diff --git a/test/dump.h b/test/dump.h index c217565..98ec1bb 100644 --- a/test/dump.h +++ b/test/dump.h @@ -436,7 +436,7 @@ static void dump_unit(fixed val, uint32_t unit, char **ptr) *ptr += sprintf(*ptr, "rad"); break; case UNIT_MS: - *ptr += printf(*ptr, "ms"); + *ptr += sprintf(*ptr, "ms"); break; case UNIT_S: *ptr += sprintf(*ptr, "s"); -- cgit v1.2.3