From e638e1a286156d53816563c290524c241a570de6 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 27 Jan 2012 23:52:06 +0000 Subject: Fix \!important for opacity property. svn path=/trunk/libcss/; revision=13410 --- src/parse/important.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/parse/important.c') diff --git a/src/parse/important.c b/src/parse/important.c index 73d64ac..8587afd 100644 --- a/src/parse/important.c +++ b/src/parse/important.c @@ -306,6 +306,11 @@ void css__make_style_important(css_style *style) offset += 2; /* length + units */ break; + case CSS_PROP_OPACITY: + if (value == OPACITY_SET) + offset++; /* value */ + break; + case CSS_PROP_ORPHANS: case CSS_PROP_PITCH_RANGE: case CSS_PROP_RICHNESS: -- cgit v1.2.3