<?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>155870</bug_id>
          
          <creation_ts>2016-03-24 22:17:10 -0700</creation_ts>
          <short_desc>Weird behavior of animation shorthand in this testcase</short_desc>
          <delta_ts>2023-05-10 02:05:17 -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>Animations</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=203484</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>
          <dependson>155874</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dbates</cc>
    
    <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1177884</commentid>
    <comment_count>0</comment_count>
      <attachid>274883</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-03-24 22:17:10 -0700</bug_when>
    <thetext>Created attachment 274883
Testcase

If you drop the attached testcase into LayoutTests/animations, then run it in the browser, the box only animates once, despite the shorthand “animation: move 1s 3 linear” having iteration-count 3. And the web inspector shows that we parsed the interation count as animation-delay: 0.003s;

So something weird is up with parsing the shorthand here.

Oddly it doesn’t reproduce without the js-pre/js-post stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1177885</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-03-24 22:17:23 -0700</bug_when>
    <thetext>rdar://problem/25354121</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1177902</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-03-24 22:54:38 -0700</bug_when>
    <thetext>Ugh. This is because the testcase was in quirks mode, in which case we can parse unitless time values as a time in ms.

No other UA does this for non-zero values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954290</commentid>
    <comment_count>3</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-05-10 02:04:52 -0700</bug_when>
    <thetext>I dropped the attached test case in LayoutTests/animations, modified it to have `animation: move 1s 3 linear` and ran it in both Safari 16 and Firefox. In both cases, I got 3 iterations. This appears to have been fixed at some point in the last 7 years.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>274883</attachid>
            <date>2016-03-24 22:17:10 -0700</date>
            <delta_ts>2016-03-24 22:17:10 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>animation-events-not-cancelable.html</filename>
            <type>text/html</type>
            <size>1160</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8c2NyaXB0IHNyYz0iLi4vcmVzb3VyY2VzL2pzLXRlc3QtcHJlLmpzIj48
L3NjcmlwdD4KPHN0eWxlPgojYm94IHsKICAgIGhlaWdodDogMTBweDsKICAgIHdpZHRoOiAxMHB4
OwogICAgYmFja2dyb3VuZC1jb2xvcjogYmx1ZTsKICAgIHBvc2l0aW9uOiByZWxhdGl2ZTsKfQoj
Ym94LnJ1bm5pbmcgewogICAgYW5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