diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-14 00:06:01 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-14 00:06:01 +0000 |
commit | 7ecab92e9a8508c44a758a8ca58defe9a5965bb4 (patch) | |
tree | 069accf001b7f948edcbc9d32433002685abc61a /test/dump.h | |
parent | c9899180b84909a15f3dcc17378a60d4e9e9fc3e (diff) | |
download | libcss-7ecab92e9a8508c44a758a8ca58defe9a5965bb4.tar.gz libcss-7ecab92e9a8508c44a758a8ca58defe9a5965bb4.tar.bz2 |
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
Diffstat (limited to 'test/dump.h')
-rw-r--r-- | test/dump.h | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |