From 433d1d49bb92aac36684704ae891e8ff9bd28b91 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 24 Jul 2014 13:03:52 +0100 Subject: Fix advancing when play-during rule has !important set. --- src/parse/important.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/parse/important.c b/src/parse/important.c index a5c2b34..5589467 100644 --- a/src/parse/important.c +++ b/src/parse/important.c @@ -356,7 +356,7 @@ void css__make_style_important(css_style *style) break; case CSS_PROP_PLAY_DURING: - if (value == PLAY_DURING_URI) + if (value & PLAY_DURING_URI) offset++; /* string table entry */ break; -- cgit v1.2.3