diff --git a/dom/animation/test/chrome/test_animation_performance_warning.html b/dom/animation/test/chrome/test_animation_performance_warning.html index be7ab9c946f2..5acda77925d7 100644 --- a/dom/animation/test/chrome/test_animation_performance_warning.html +++ b/dom/animation/test/chrome/test_animation_performance_warning.html @@ -1177,7 +1177,7 @@ function start() { assert_animation_property_state_equals( animation.effect.getProperties(), [ { property: 'transform', runningOnCompositor: true } ]); - animation.effect.target.style = 'width: 5200px; height: 5200px'; + animation.effect.target.style = 'width: 10000px; height: 10000px'; return waitForFrame(); }).then(() => { // viewport depends on test environment. @@ -1212,13 +1212,13 @@ function start() { assert_animation_property_state_equals( animation.effect.getProperties(), [ { property: 'transform', runningOnCompositor: true } ]); - animation.effect.target.style = 'width: 5200px; height: 1px'; + animation.effect.target.style = 'width: 20000px; height: 1px'; return waitForFrame(); }).then(() => { // viewport depends on test environment. var expectedWarning = new RegExp( "Animation cannot be run on the compositor because the frame size " + - "\\(5200, 1\\) is too large relative to the viewport " + + "\\(20000, 1\\) is too large relative to the viewport " + "\\(larger than \\(\\d+, \\d+\\)\\) or larger than the " + "maximum allowed value \\(\\d+, \\d+\\)"); assert_animation_property_state_equals(