Nathan Sobo
76a919f8b4
Perform document updates in same frame when requested from reads
...
A common pattern is to put something on the DOM, measure it, then update
the DOM again based on that measurement. This change ensures that any
updates requested as a result of reading from the DOM get scheduled for
the end of the current frame. If you want to read *again* after these
follow-on updates, you will need to wait for the next frame. But at
least this way we ensure instant feedback with minimal thrashing
(1 reflow) when we have no choice but to read the DOM before updating.
/cc @benogle
2015-04-20 22:01:36 -06:00
..
2015-04-15 09:18:02 -07:00
2015-04-16 09:52:41 +02:00
2014-11-26 14:55:38 -08:00
2015-01-06 11:50:20 -07:00
2015-04-15 15:09:49 -07:00
2015-02-25 09:42:49 -08:00
2015-02-04 15:27:17 -08:00
2014-12-18 17:58:18 -08:00
2014-02-03 13:20:28 -08:00
2014-09-25 20:39:04 -06:00
2015-03-04 10:02:03 -08:00
2015-03-24 18:05:30 +11:00
2015-04-20 12:12:05 -06:00
2015-03-04 10:02:03 -08:00
2015-03-24 12:06:03 +08:00
2014-09-30 12:58:10 -06:00
2015-04-01 12:39:22 -04:00
2015-03-23 15:38:38 -07:00
2014-12-12 12:26:09 -08:00
2015-04-08 10:27:03 +02:00
2015-04-13 16:26:24 -07:00
2014-09-29 11:45:01 -06:00
2014-10-15 13:12:42 -07:00
2014-11-24 14:58:21 -08:00
2014-12-05 13:46:01 -08:00
2015-04-15 09:18:02 -07:00
2015-01-09 15:03:07 -08:00
2015-04-15 14:09:27 -07:00
2015-01-12 22:00:24 -08:00
2015-04-06 23:59:54 -04:00
2015-04-14 21:31:59 +08:00
2015-04-15 14:20:16 -07:00
2014-12-01 17:53:03 -08:00
2014-12-01 16:28:33 -08:00
2014-12-01 17:53:03 -08:00
2014-12-09 13:41:33 -07:00
2015-04-06 16:22:31 -07:00
2015-03-19 15:08:48 -06:00
2014-02-02 19:29:54 +06:00
2014-11-26 14:55:38 -08:00
2014-09-25 15:14:29 -07:00
2014-11-26 14:55:38 -08:00
2014-06-04 10:01:45 -07:00
2013-12-31 15:05:34 -08:00
2015-04-16 09:15:46 +02:00
2014-07-21 10:43:30 -07:00
2015-01-07 10:24:19 -08:00
2015-01-07 09:51:42 -07:00
2015-01-07 09:51:42 -07:00
2014-11-26 14:55:39 -08:00
2015-02-19 14:53:15 -08:00
2015-04-14 19:34:04 +02:00
2015-02-19 17:14:57 -07:00
2015-04-01 17:41:00 -07:00
2015-04-14 10:50:09 +02:00
2014-10-24 13:31:42 -07:00
2015-04-15 09:18:02 -07:00
2014-08-14 19:41:49 +02:00
2015-04-06 23:59:54 -04:00
2014-10-21 11:38:43 -07:00
2015-04-13 12:24:25 +02:00
2015-03-19 11:45:13 +11:00
2015-04-20 22:01:36 -06:00
2015-04-15 14:20:16 -07:00
2015-04-06 23:59:54 -04:00
2015-01-14 16:15:53 -08:00