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

[css3-animations] Where in the cascade do animations go?

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 25 Nov 2011 15:52:46 -0800
To: www-style@w3.org
Message-ID: <20111125235246.GA2516@pickering.dbaron.org>
http://dev.w3.org/csswg/css3-animations/#animations says:
  # This overrides the value specified in the normal styling system.

I'm opposed to allowing animations to override user-!important
rules.  It's not clear if the above sentence was meant to imply
that, though.

The question that I'm not sure of is whether they should override
!important rules in Author and Override style sheets.

In particular, given the following existing CSS cascade concepts, I
see the following as reasonable choices for where animations should
fall in the cascade:

  1. UA normal rules
  2. User normal rules
  3. Presentational hints
  4. Author normal rules
       [option A for animations: insert animations here]
  5. Override normal rules
       [option B for animations: insert animations here]
  6. Author !important rules
  7. Override !important rules
       [option C for animations: insert animations here]
  8. User !important rules

In Gecko I implemented option (C).

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Friday, 25 November 2011 23:53:21 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:46 GMT