Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: LayoutTests/fast/events/scale-document.html

Issue 503583002: Fixed Inconsistent behaviour of custom-scrollbar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding test case Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/events/scale-document-expected.txt » ('j') | Source/core/frame/FrameView.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/events/scale-document-expected.txt » ('j') | Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698