Bug 231943 - !important should be taken in account by @keyframes
Summary: !important should be taken in account by @keyframes
Status: RESOLVED DUPLICATE of bug 210963
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: data:text/html,<style>@keyframes hell...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-19 02:43 PDT by Tim Nguyen (:ntim)
Modified: 2023-01-07 01:54 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nguyen (:ntim) 2021-10-19 02:43:07 PDT
<style>
@keyframes hello {
  from {
    color: red;
  }
  to {
    color: orange;
  }
}

::marker {
  animation: hello 1s infinite;
  color: green !important;
}
</style>
<ul>
<li>hello</li>
</ul>

---

The marker is green in Firefox & Chrome, animates from red to orange in WebKit.
Comment 1 Radar WebKit Bug Importer 2021-10-19 02:50:43 PDT
<rdar://problem/84407795>
Comment 2 Antti Koivisto 2021-10-19 04:55:07 PDT
Note that this problem is not specific to pseudo elements.
Comment 3 Antti Koivisto 2023-01-07 01:54:15 PST

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