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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26839</bug_id>
          
          <creation_ts>2014-09-17 22:52:17 +0000</creation_ts>
          <short_desc>Integrate &quot;Timing control for script-based animations&quot; spec into HTML</short_desc>
          <delta_ts>2014-11-19 21:57:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>adrianba</cc>
    
    <cc>annevk</cc>
    
    <cc>contributor</cc>
    
    <cc>dbaron</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>roc</cc>
    
    <cc>travil</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>111724</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-17 22:52:17 +0000</bug_when>
    <thetext>See: http://lists.w3.org/Archives/Public/public-whatwg-archive/2014Sep/0046.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111728</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-17 23:17:45 +0000</bug_when>
    <thetext>See also http://lists.w3.org/Archives/Public/public-whatwg-archive/2014Sep/0048.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111863</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-19 23:43:04 +0000</bug_when>
    <thetext>*** Bug 26636 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111864</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-19 23:43:16 +0000</bug_when>
    <thetext>See also http://lists.w3.org/Archives/Public/www-dom/2014JulSep/0091.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112326</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-26 22:53:57 +0000</bug_when>
    <thetext>Looks like the model should be:

 1. scroll events and other such events that we want synchronised with rendering
 2. requestAnimationFrame callbacks
 3. microtasks triggered by requestAnimationFrame
      -- beyond this point no script executes until we&apos;ve painted --
 3. resolve CSS animations, transitions, etc
 4. compute style
 5. compute layout
 6. paint</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112969</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-10-10 18:25:16 +0000</bug_when>
    <thetext>What do people think? Is this controversial?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112970</commentid>
    <comment_count>6</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-10-10 20:13:43 +0000</bug_when>
    <thetext>I have a little trouble with the &quot;update the rendering&quot; concept in general--it makes a lot of assumptions about a single-threaded rendering environment. In IE&apos;s case, we use a multi-threaded rendering model, and so &quot;update the rendering&quot; is not going to be so straightforward.

Regardless of this, if the editors of the Timing control.. spec want to integrate, then I suppose I don&apos;t object; though in general, I&apos;m a proponent of smaller modular specs of which this plan runs counter to that goal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112973</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-10-10 22:19:13 +0000</bug_when>
    <thetext>I think this makes sense. I&apos;d be interested in hearing how we can allow for parallelization in rendering better. Travis, I assume you still deal with synchronizing scroll events and requestAnimationFrame callbacks and such somehow?

I think in the end what this is doing is synchronizing when certain rendering bits happen that have hooks in scripts. Rendering itself is after that (3-6 in Ian&apos;s list) and those things could happen in parallel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112983</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-10-11 01:09:06 +0000</bug_when>
    <thetext>Travis: I&apos;m interesting in hearing more about the multithreaded rendering model. What kinds of things do you do in separate threads? Are any of the things in comment 4 done in separate threads?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115142</commentid>
    <comment_count>9</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-11-19 21:56:53 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8849.
Check-in comment: Flesh out how rendering happens in the event loop. This also defines requestAnimationFrame() and obsoletes the &apos;Timing control for script-based animations&apos; spec (by request of that spec&apos;s editors)
https://html5.org/tools/web-apps-tracker?from=8848&amp;to=8849</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115143</commentid>
    <comment_count>10</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-19 21:57:09 +0000</bug_when>
    <thetext>Travis, let me know if the resulting spec text is problematic for IE. Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>