From 85f7d81cfb45c8804507f175b1c3a05b717f589c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 15 Jul 2009 23:05:02 +0000 Subject: Provide accessor for computed value of display assuming static position. Modify css_computed_display to follow $9.7. svn path=/trunk/libcss/; revision=8568 --- test/data/select/tests1.dat | 2 +- test/dump_computed.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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"); -- cgit v1.2.3