Bug 75558
Summary: | User !important rules should override animation rules | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | CSS | Assignee: | 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 |
Simon Fraser (smfr)
User !important rules should be allowed to override animation rules (for accessibility etc).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
ben
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
Sergey Rubanov
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
fantasai
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
Antti Koivisto
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 ***