From 3b433639d83e6bf4ddb074f989c17502bc862fc0 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 19 Oct 2008 21:46:54 +0000 Subject: Provide an internal mechanism for dumping stylesheets to a file handle. Make the css21 test driver call this so we can see if it's working. svn path=/trunk/libcss/; revision=5602 --- test/css21.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/css21.c b/test/css21.c index b4e36b6..56e6a90 100644 --- a/test/css21.c +++ b/test/css21.c @@ -2,7 +2,7 @@ #include #include -#include +#include "stylesheet.h" #include "testutils.h" @@ -67,6 +67,8 @@ int main(int argc, char **argv) assert(css_stylesheet_data_done(sheet) == CSS_OK); + css_stylesheet_dump(sheet, stdout); + css_stylesheet_destroy(sheet); assert(css_finalise(myrealloc, NULL) == CSS_OK); -- cgit v1.2.3