Bug 75558

Summary: User !important rules should override animation rules
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ariarzer, ben, chi187, cmarrin, dzhiriki, fantasai.bugs, hyatt, koivisto, kyle.bavender, paulirish
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://lists.w3.org/Archives/Public/www-style/2011Nov/0667.html

Description Simon Fraser (smfr) 2012-01-04 09:59:51 PST
User !important rules should be allowed to override animation rules (for accessibility etc).
Comment 1 ben 2012-09-06 18:41:59 PDT
Here's a test case:

http://jsfiddle.net/fFJ3m/1/

for a more, solid use cases see John Rimmer's message:

http://lists.w3.org/Archives/Public/www-style/2012Jan/1124.html

This is about to show up the spec:

http://lists.w3.org/Archives/Public/www-style/2012Aug/0900.html
Comment 2 Sergey Rubanov 2020-02-19 03:29:53 PST
It seems that Chromium has started to work on the fix for the same bug in Blink according to https://bugs.chromium.org/p/chromium/issues/detail?id=552085#c14
Comment 3 fantasai 2020-09-09 09:47:31 PDT
All !important rules (including author !important) should be overriding animations, per spec:
  https://www.w3.org/TR/css-cascade-3/#cascade-sort
This is btw the only test failure WebKit has against CSS Cascade 3.
  https://drafts.csswg.org/css-cascade-3/implementation-report
Comment 4 Antti Koivisto 2023-01-07 02:05:49 PST
This was fixed in <https://commits.webkit.org/258514@main>. Sorry for the forward dupe!

*** This bug has been marked as a duplicate of bug 210963 ***