| Index: LayoutTests/fast/events/resize-events.html
|
| diff --git a/LayoutTests/fast/events/resize-events.html b/LayoutTests/fast/events/resize-events.html
|
| index a4dd5d54106443bcb91c266d2e0294b1ddc24e39..ba6d1f357c80bfff02006d1531f7421878d3cc47 100644
|
| --- a/LayoutTests/fast/events/resize-events.html
|
| +++ b/LayoutTests/fast/events/resize-events.html
|
| @@ -14,7 +14,7 @@
|
| </head>
|
| <body>
|
| <div>
|
| - Test how many resize events are emitted during page load and dynamic content generation.
|
| + Following actions must not emit resize events: page load, dynamic content generation, page scaling and changing fixed layout size
|
|
|
| Do not resize the page. It invalidates the test.
|
| <p style="text-indent: 10px" id=result1>
|
| @@ -36,6 +36,16 @@
|
| el.setAttribute('class','block');
|
| document.getElementById('expandingblock').appendChild(el);
|
| }
|
| + setTimeout(scalePage, 20);
|
| + }
|
| + function scalePage() {
|
| + if (window.internals)
|
| + window.internals.setPageScaleFactor(3, 0, 0);
|
| + setTimeout(changeFixedLayoutSize, 20);
|
| + }
|
| + function changeFixedLayoutSize() {
|
| + if (window.testRunner)
|
| + testRunner.setFixedLayoutSize(1600, 1600);
|
| setTimeout(finish, 20);
|
| }
|
| function finish() {
|
|
|