| Index: LayoutTests/svg/foreignObject/filter-repaint.svg
|
| diff --git a/LayoutTests/svg/foreignObject/filter-repaint.svg b/LayoutTests/svg/foreignObject/filter-repaint.svg
|
| index 6238fcdd4eadeaee5253ebeb873976549bb16cc0..80346bbdda4363de8907c37b2e247c171bd34d89 100644
|
| --- a/LayoutTests/svg/foreignObject/filter-repaint.svg
|
| +++ b/LayoutTests/svg/foreignObject/filter-repaint.svg
|
| @@ -21,20 +21,20 @@
|
| function runTest() {
|
| if (window.testRunner) {
|
| testRunner.waitUntilDone();
|
| - testRunner.display();
|
| }
|
|
|
| - setTimeout(function() {
|
| - document.getElementById('div').style.backgroundColor = 'green';
|
| - document.getElementById('div').style.width = '100px';
|
| + window.requestAnimationFrame(function() {
|
| + setTimeout(function() {
|
| + document.getElementById('div').style.backgroundColor = 'green';
|
| + document.getElementById('div').style.width = '100px';
|
|
|
| - // Force a full redraw to get rid of the display() shade and make ref-testing feasible.
|
| - document.getElementById('r').setAttribute('fill', 'none');
|
| -
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| - }, 0);
|
| + // Force a full redraw to get rid of the display() shade and make ref-testing feasible.
|
| + document.getElementById('r').setAttribute('fill', 'none');
|
|
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + }, 0);
|
| + });
|
| }
|
| </script>
|
| </svg>
|
|
|