Bug 75558 - User !important rules should override animation rules
Summary: User !important rules should override animation rules
Status: RESOLVED DUPLICATE of bug 210963
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://lists.w3.org/Archives/Public/w...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-04 09:59 PST by Simon Fraser (smfr)
Modified: 2024-09-24 16:11 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***