summaryrefslogtreecommitdiff
path: root/test/dump.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-08-21 09:45:13 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-08-21 09:45:13 +0000
commit5c20bde8b544d23fd024dad7ace9b46849336ebf (patch)
tree07dc508d51d281b7553e471a42ba3684018fe512 /test/dump.h
parent5bd907c74151d0bbe1859c37cb2bde898ab72e2f (diff)
downloadlibcss-5c20bde8b544d23fd024dad7ace9b46849336ebf.tar.gz
libcss-5c20bde8b544d23fd024dad7ace9b46849336ebf.tar.bz2
-libcss-align
svn path=/trunk/libcss/; revision=9378
Diffstat (limited to 'test/dump.h')
-rw-r--r--test/dump.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/dump.h b/test/dump.h
index da9e8fb..5352ce3 100644
--- a/test/dump.h
+++ b/test/dump.h
@@ -1952,6 +1952,13 @@ void dump_bytecode(css_style *style, char **ptr, uint32_t depth)
}
break;
case CSS_PROP_TEXT_ALIGN:
+ case CSS_PROP_LIBCSS_ALIGN:
+ assert(LIBCSS_ALIGN_LEFT == TEXT_ALIGN_LEFT);
+ assert(LIBCSS_ALIGN_RIGHT == TEXT_ALIGN_RIGHT);
+ assert(LIBCSS_ALIGN_CENTER ==
+ TEXT_ALIGN_CENTER);
+ assert(LIBCSS_ALIGN_JUSTIFY ==
+ TEXT_ALIGN_JUSTIFY);
switch (value) {
case TEXT_ALIGN_LEFT:
*ptr += sprintf(*ptr, "left");