W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

[csswg-drafts] [cssom][css-animations] Important flag for declaration block in @keyframes rule

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Sep 2017 23:08:03 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-258647752-1505776073-sysbot+gh@w3.org>
upsuper has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom][css-animations] Important flag for declaration block in @keyframes rule ==
In CSS Animations spec, it is mentioned that
> In addition, properties qualified with !important are invalid and ignored.

However, the important flag can still be set via `CSSStyleDeclaration`'s `setProperty` and `setPropertyPriority`.

Probably the "set a CSS declaration priority" algorithm should ignore when the declaration block is from a keyframe rule.

cc @hiikezoe

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1824 using your GitHub account
Received on Monday, 18 September 2017 23:07:55 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:18 UTC