<?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>111329</bug_id>
          
          <creation_ts>2013-03-04 07:37:27 -0800</creation_ts>
          <short_desc>REGRESSION (258514@main): Transition of !important property fails to animate</short_desc>
          <delta_ts>2023-02-27 06:11:49 -0800</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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=210963</see_also>
    
    <see_also>https://github.com/web-platform-tests/wpt/pull/38719</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>0</everconfirmed>
          <reporter name="Daniel Trebbien">dtrebbien</reporter>
          <assigned_to name="Antti Koivisto">koivisto</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>dino</cc>
    
    <cc>dtrebbien</cc>
    
    <cc>graouts</cc>
    
    <cc>graouts</cc>
    
    <cc>koivisto</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>846480</commentid>
    <comment_count>0</comment_count>
      <attachid>191242</attachid>
    <who name="Daniel Trebbien">dtrebbien</who>
    <bug_when>2013-03-04 07:37:27 -0800</bug_when>
    <thetext>Created attachment 191242
Test case

Please see the attached test case.  In Safari 6.0.2, Chrome 25.0.1364.152, Firefox 19.0, and IE 10, after clicking OK on the &quot;starting&quot; alert, the transition of background color from white to red begins and runs for 1 second until an intensive string computation starts.  While the string computation is running, no frames of the transition are painted, so the effect is that the background color jumps from a very light red to a deep red color when the string computation finishes.

Opera (version 12.14 tested) seems to be the only browser that continues to paint frames of the transition while the string computation is running.

This issue isn&apos;t as noticeable in desktop browsers as it is for mobile browsers, but it can be seen in desktop Chrome if a fair number of DOM modifications are made to set up a page of an HTML5 app.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846481</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Trebbien">dtrebbien</who>
    <bug_when>2013-03-04 07:39:24 -0800</bug_when>
    <thetext>https://bugzilla.mozilla.org/show_bug.cgi?id=847415</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936672</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-02-24 15:09:46 -0800</bug_when>
    <thetext>Safari 16.3 behavior is similar to Chrome Canary 112 while Safari Technology Preview 164 has regressed it and after clicking &quot;Start&quot;, it just directly go to &quot;Red&quot; and does not have any transitions.

Firefox Nightly 112, Chrome Canary 112 &amp; Safari 16.3 are matching but Safari Technology Preview 164 has regressed it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936788</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-02-25 13:14:28 -0800</bug_when>
    <thetext>&lt;rdar://problem/105929421&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936789</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-02-25 13:33:51 -0800</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #2)
&gt; Safari 16.3 behavior is similar to Chrome Canary 112 while Safari Technology
&gt; Preview 164 has regressed it and after clicking &quot;Start&quot;, it just directly go
&gt; to &quot;Red&quot; and does not have any transitions.
&gt; 
&gt; Firefox Nightly 112, Chrome Canary 112 &amp; Safari 16.3 are matching but Safari
&gt; Technology Preview 164 has regressed it.

Thanks for catching this Ahmad! This regressed with 258514@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936956</commentid>
    <comment_count>5</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2023-02-27 03:07:43 -0800</bug_when>
    <thetext>Transitions have higher precedence then !important (unlike animations).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936957</commentid>
    <comment_count>6</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2023-02-27 03:08:03 -0800</bug_when>
    <thetext>Reduced test case

&lt;style&gt;
#theBox {
    width: 200px;
    height: 200px;
    transition: background-color 20s;
}
.red {
    background-color: red !important;
}
&lt;/style&gt;
&lt;div id=&quot;theBox&quot;&gt;&lt;/div&gt;
&lt;script&gt;
document.body.offsetLeft;
theBox.className = &quot;red&quot;;
&lt;/script&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936964</commentid>
    <comment_count>7</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2023-02-27 03:38:40 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/10719</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936975</commentid>
    <comment_count>8</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2023-02-27 04:47:01 -0800</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/38719</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936991</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-27 06:11:43 -0800</bug_when>
    <thetext>Committed 260880@main (e0fa0f2073f1): &lt;https://commits.webkit.org/260880@main&gt;

Reviewed commits have been landed. Closing PR #10719 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>191242</attachid>
            <date>2013-03-04 07:37:27 -0800</date>
            <delta_ts>2013-03-04 07:37:27 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>Test case.html</filename>
            <type>text/html</type>
            <size>985</size>
            <attacher name="Daniel Trebbien">dtrebbien</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHN0eWxlPgojdGhlQm94IHsKICAgIGJveC1z
aXppbmc6IGJvcmRlci1ib3g7CiAgICB3aWR0aDogMjAwcHg7CiAgICBoZWlnaHQ6IDIwMHB4Owog
ICAgYm9yZGVyOiAxcHggc29saWQgYmxhY2s7CiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTsK
ICAgIG92ZXJmbG93OiBoaWRkZW47CiAgICAtd2Via2l0LXRyYW5zaXRpb246IGJhY2tncm91bmQt
Y29sb3IgMjBzOwogICAgLW1vei10cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDIwczsKICAg
IC1tcy10cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDIwczsKICAgIC1vLXRyYW5zaXRpb246
IGJhY2tncm91bmQtY29sb3IgMjBzOwogICAgdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAy
MHM7Cn0KCi5yZWQgewogICAgYmFja2dyb3VuZC1jb2xvcjogcmVkICFpbXBvcnRhbnQ7Cn0KPC9z
dHlsZT4KPC9oZWFkPgo8Ym9keSBvbmxvYWQ9Im9uUGFnZUxvYWQoKSI+Cgo8ZGl2IGlkPSJ0aGVC
b3giPjwvZGl2PgoKPHNjcmlwdD4KZnVuY3Rpb24gb25QYWdlTG9hZCgpIHsKICAgIHNldFRpbWVv
dXQoZnVuY3Rpb24gKCkgewogICAgICAgIHZhciB0aGVCb3ggPSBkb2N1bWVudC5nZXRFbGVtZW50
QnlJZCgidGhlQm94Iik7CiAgICAgICAgYWxlcnQoInN0YXJ0aW5nIik7CiAgICAgICAgdGhlQm94
LmNsYXNzTmFtZSA9ICJyZWQiOwoKICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uICgpIHsKICAg
ICAgICAgICAgdmFyIHN0ciA9ICIiOwogICAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IDcw
MDAwMDA7ICsraSkgewogICAgICAgICAgICAgICAgc3RyICs9IE1hdGgucmFuZG9tKCkgKyAiXG4i
OwogICAgICAgICAgICB9CiAgICAgICAgICAgIGNvbnNvbGUubG9nKCJzdHIubGVuZ3RoID0gIiAr
IHN0ci5sZW5ndGgpOwogICAgICAgIH0sIDEwMDApOwogICAgfSwgMTAwKTsKfQo8L3NjcmlwdD4K
PC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>