W3C home > Mailing lists > Public > www-style@w3.org > December 2011

[CSS21][css3-page] What happens to !important inside @page rules?

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 6 Dec 2011 14:06:52 -0800
To: www-style@w3.org
Message-ID: <20111206220652.GA13376@pickering.dbaron.org>
http://www.w3.org/TR/CSS21/page.html#page-box and
http://dev.w3.org/csswg/css3-page/#syntax-page-selector both say
that declarations are allowed inside of @page rules.  This implies
that '!important' is allowed, since it's part of the syntax for
declarations.  However, neither specification says what to do with
declarations marked '!important'.  Should they gain additional
priority, and if so, over what?  Or should '!important' instead be a
parse error?


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Tuesday, 6 December 2011 22:07:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:08 UTC