mirror of
https://github.com/servo/servo
synced 2026-05-10 00:52:08 +02:00
According to spec, we should wait animation frame callbacks before taking (element) screenshot. As "element screenshot" would automatically scroll into view, this solves intermittency. Testing: Manually tested on pages, and `take_element_screenshot/scroll_into_view.py` passes stably now. Fixes: #39306 --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>