summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-15 23:05:02 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-15 23:05:02 +0000
commit85f7d81cfb45c8804507f175b1c3a05b717f589c (patch)
treedf6a57e3a9554e8661ef83cea5ed77fd6a4d36e6 /test
parent1ebed74cd8be22ff805bffb10f6d1e55f2a9866f (diff)
downloadlibcss-85f7d81cfb45c8804507f175b1c3a05b717f589c.tar.gz
libcss-85f7d81cfb45c8804507f175b1c3a05b717f589c.tar.bz2
Provide accessor for computed value of display assuming static position.
Modify css_computed_display to follow $9.7. svn path=/trunk/libcss/; revision=8568
Diffstat (limited to 'test')
-rw-r--r--test/data/select/tests1.dat2
-rw-r--r--test/dump_computed.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat
index 34ae7bf..9d1a4cb 100644
--- a/test/data/select/tests1.dat
+++ b/test/data/select/tests1.dat
@@ -341,7 +341,7 @@ counter-increment: none
counter-reset: none
cursor: auto
direction: ltr
-display: block
+display: inline
empty-cells: show
float: none
font-family: sans-serif
diff --git a/test/dump_computed.h b/test/dump_computed.h
index 8269b3a..b3423d7 100644
--- a/test/dump_computed.h
+++ b/test/dump_computed.h
@@ -1023,7 +1023,7 @@ static void dump_computed_style(const css_computed_style *style, char *buf,
*len -= wrote;
/* display */
- val = css_computed_display(style);
+ val = css_computed_display_static(style);
switch (val) {
case CSS_DISPLAY_INLINE:
wrote = snprintf(ptr, *len, "display: inline\n");