Both types of DOM operations (read / write) have their own job queues. Each queue is reset (for example, all tasks are started / executed) eachrequestAnimationFrame
If you add 100 read operations in just 5 ms, for example (during a cycle, for example), all these read operations will (most likely) happen the next time the queue readis reset (this may be 1 ms after adding the last job or 16.66667 ms after adding the last job).
Read the source, it is well written and well commented.
source
share