<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>176484</bug_id>
          
          <creation_ts>2017-09-06 17:00:40 -0700</creation_ts>
          <short_desc>Web Inspector: Styles Redesign: Show CSS animations (@keyframes)</short_desc>
          <delta_ts>2024-03-22 10:35:27 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=176289</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikita Vasilyev">nvasilyev</reporter>
          <assigned_to name="Nikita Vasilyev">nvasilyev</assigned_to>
          <cc>hi</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>rcaliman</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1346159</commentid>
    <comment_count>0</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2017-09-06 17:00:40 -0700</bug_when>
    <thetext>Currently, we don&apos;t show @keyframes rules in the styles sidebar at all.

Steps:
1. Open http://nv.github.io/webkit-inspector-bugs/styles-redesign/tests/css-animations.html
2. Inspect &lt;p&gt;foo&lt;/p&gt;

Expected:
At the bottom of the Styles panel, we should see:

    @keyframes slidein {
        from {
            transform: translateX(-20px);
        }

        to {
            transform: translateX(20px);
        }
    }

Actual:
@keyframes aren&apos;t shown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1346160</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-09-06 17:01:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/34295517&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1346564</commentid>
    <comment_count>2</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2017-09-07 14:51:14 -0700</bug_when>
    <thetext>Would all @keyframes be visible for all nodes, or are you going to try to only show @keyframes that are actively used by some rule for the selected node?  Would it be worth creating a separate panel just for editing animations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1346572</commentid>
    <comment_count>3</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2017-09-07 15:05:35 -0700</bug_when>
    <thetext>(In reply to Devin Rousso from comment #2)
&gt; Would all @keyframes be visible for all nodes, or are you going to try to
&gt; only show @keyframes that are actively used by some rule for the selected
&gt; node?

The latter.

&gt; Would it be worth creating a separate panel just for editing
&gt; animations?

Something like Chrome and Firefox have?

https://developers.google.com/web/tools/chrome-devtools/inspect-styles/animations
https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/How_to/Work_with_animations

It would be nice to have, but I&apos;m not planning on working on it any time soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1558826</commentid>
    <comment_count>4</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2019-08-06 10:40:25 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 31074 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023162</commentid>
    <comment_count>5</comment_count>
    <who name="Razvan Caliman">rcaliman</who>
    <bug_when>2024-03-22 10:35:27 -0700</bug_when>
    <thetext>Reopening. It is still not possible to view styles for CSS @keyframes rules.

&lt;rdar://125244567&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>