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

On 11/25/2011 03:52 PM, L. David Baron wrote:
> 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).

Remind me what Override rules are again? I don't remember seeing them
in any specs.

~fantasai

Received on Tuesday, 29 November 2011 19:05:44 UTC