diff options
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 234183d1e08..ef9be18b691 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -1162,6 +1162,10 @@ impl ScriptThread { // as well as those for which a rendering update would be unnecessary, // but this isn't happening here. + // TODO(#31242): the filtering of docs is extended to not exclude the ones that + // has pending initial observation targets + // https://w3c.github.io/IntersectionObserver/#pending-initial-observation + // If we aren't explicitly running rAFs, this update wasn't requested by the compositor, // and we are running animations, then wait until the compositor tells us it is time to // update the rendering via a TickAllAnimations message. @@ -1259,8 +1263,11 @@ impl ScriptThread { // TODO: Perform pending transition operations from // https://drafts.csswg.org/css-view-transitions/#perform-pending-transition-operations. - // TODO(#31021): Run the update intersection observations steps from - // https://w3c.github.io/IntersectionObserver/#run-the-update-intersection-observations-steps + // > 19. For each doc of docs, run the update intersection observations steps for doc, + // > passing in the relative high resolution time given now and + // > doc's relevant global object as the timestamp. [INTERSECTIONOBSERVER] + // TODO(stevennovaryo): The time attribute should be relative to the time origin of the global object + document.update_intersection_observer_steps(CrossProcessInstant::now(), can_gc); // TODO: Mark paint timing from https://w3c.github.io/paint-timing. |