Chromium Code Reviews| Index: LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html |
| diff --git a/LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html b/LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2d059cdbf73acea08937e648349b3bec215a02cf |
| --- /dev/null |
| +++ b/LayoutTests/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html |
| @@ -0,0 +1,35 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +::-webkit-scrollbar { |
| + height: 1px; |
| + width: 1px |
| +} |
| +html { |
| + overflow-y: scroll |
| +} |
| +</style> |
| +<script> |
| +if (window.testRunner) { |
| + testRunner.dumpAsText(); |
| + testRunner.waitUntilDone(); |
| +} |
| +eventSender.setPageZoomFactor(2.5); |
| +if (window.testRunner) |
| + testRunner.notifyDone(); |
|
rune
2014/11/06 16:44:27
Do you really need a wait/notify here? If so, won'
MuVen
2014/11/06 18:49:55
not needed. removed. Done.
|
| +</script> |
| +<div> |
| + Custom-Scrollbar needs layout when scrollbar thickness changed. |
| + <span>The test passed if chrome did not crash.</span> |
| +</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> |
|
rune
2014/11/06 16:44:27
Was this list necessary?
MuVen
2014/11/06 17:35:15
well the list is created, just when the page is zo
MuVen
2014/11/06 18:49:55
Done.
|
| +</ul> |