Chromium Code Reviews| Index: LayoutTests/fast/events/scale-document.html |
| diff --git a/LayoutTests/fast/events/scale-document.html b/LayoutTests/fast/events/scale-document.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dba786284978394864404311103edd7e036980e9 |
| --- /dev/null |
| +++ b/LayoutTests/fast/events/scale-document.html |
| @@ -0,0 +1,53 @@ |
| +<html> |
|
esprehn
2014/09/19 05:06:52
missing doctype, also leave out the html, body and
MuVen
2014/09/19 16:19:29
Done.
|
| +<head> |
| + <style> |
| + ::-webkit-scrollbar { |
| + height: 16px; |
|
esprehn
2014/09/19 05:06:52
Does height actually do anything here?
MuVen
2014/09/19 16:19:29
Nothing like that, i see issue with height and wid
|
| + overflow: visible; |
|
esprehn
2014/09/19 05:06:52
overflow doesn't do anything on a scrollbar.
MuVen
2014/09/19 16:19:29
Done.
|
| + width: 16px |
| + } |
| + html { |
| + overflow-y: scroll |
| + } |
| + </style> |
| + <script> |
| + function test() { |
| + // The factors are the same as those in Chrome settings. |
|
esprehn
2014/09/19 05:06:52
just inline this code below, remove the function.
MuVen
2014/09/19 16:19:30
Done.
|
| + var zoomFactors = [1, 1.1, 1.25, 1.5, 1.75, 2, 2.5, 3, 4, 5]; |
| + if (!window.eventSender) |
| + return; |
| + for (i = 0; i < zoomFactors.length; ++i) |
| + eventSender.setPageZoomFactor(zoomFactors[i]); |
| + |
| + if (window.testRunner) |
|
esprehn
2014/09/19 05:06:52
bad indent.
MuVen
2014/09/19 16:19:30
Done.
|
| + testRunner.notifyDone(); |
| + } |
| + |
| + if (window.testRunner) { |
|
esprehn
2014/09/19 05:06:52
bad indentation.
MuVen
2014/09/19 16:19:30
Done.
|
| + testRunner.dumpAsText(); |
| + testRunner.waitUntilDone(); |
| + } |
| + test(); |
| + </script> |
| +</head> |
| +<body> |
| +<div> |
| + Test for Reproducible crash in FrameView::layout(bool allowSubtree). |
| +</div> |
| +<div> |
| + The test passed if it did not crash. |
| +</div> |
| + <ul> |
| + <li>Chrome did not crash</li> |
| + <li>Chrome did not crash</li> |
| + <li>Chrome did not crash</li> |
| + <li>Chrome did not crash</li> |
| + <li>Chrome did not crash</li> |
| + <li>Chrome did not crash</li> |
| + <li>Chrome did not crash</li> |
| + <li>Chrome did not crash</li> |
| + <li>Chrome did not crash</li> |
| + <li>Chrome did not crash</li> |
| + </ul> |
| +</body> |
| +</html> |