servo/tests
Martin Robinson a0dce44ce6
wpt: Fix flakiness in vh_not_refreshing_on_chrome.html (#34626)
This test manually animates the height of an `<iframe>` that has content
which uses the `vh` unit. Each tick of the animation changes the height
by one pixel. Inside the `<iframe>` the element using `vh` units has a
transition applied, so every manual tick of the animation triggers a new
transition. The causes a pretty slow test execution.

This change improves `vh_not_refreshing_on_chrome.html` to remove
flakiness by making the test wait to start until after the `<iframe>` has
loaded and to increase the `<iframe>` height by 10 pixels instead of 1
when doing the manual animation. These changes make the test faster and
much less flaky in Servo.

In addition, the test is reformated a bit removing extraneous whitespace
and renamed to follow WPT naming conventions.

Fixes #23385.
Fixes #15570.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-12-16 15:46:46 +00:00
..
dromaeo mach: Add test-speedometer command and --bmf-output to speedometer and dromaeo (#33247) 2024-08-29 15:58:57 +00:00
html fonts: Use FontInstanceFlags::EMBEDDED_BITMAPS for color fonts on MacOS (#32203) 2024-05-02 06:50:59 +00:00
jquery Remove __future__ imports that are no longer necessary (#30661) 2023-11-02 12:01:10 +00:00
power Remove __future__ imports that are no longer necessary (#30661) 2023-11-02 12:01:10 +00:00
unit Make Servo compatible with Stylo with prefers-color-scheme support (#34423) 2024-11-29 13:48:28 +00:00
wpt wpt: Fix flakiness in vh_not_refreshing_on_chrome.html (#34626) 2024-12-16 15:46:46 +00:00