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

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 UTC