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

Unified Diff: LayoutTests/fast/repaint/scale-page-shrink.html

Issue 190723007: Fix tests to be compatible with Android scale initialization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload Created 6 years, 9 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
Index: LayoutTests/fast/repaint/scale-page-shrink.html
diff --git a/LayoutTests/fast/repaint/scale-page-shrink.html b/LayoutTests/fast/repaint/scale-page-shrink.html
index 50303ba5aa38f48a20761fe589be2f570773180b..5f77f38e3a9af52a7fb174c234ec490046ee4d79 100644
--- a/LayoutTests/fast/repaint/scale-page-shrink.html
+++ b/LayoutTests/fast/repaint/scale-page-shrink.html
@@ -1,5 +1,11 @@
<html>
<head>
+<style>
+ ::-webkit-scrollbar {
+ width: 0px;
+ height: 0px;
+ }
+</style>
<script type="text/javascript">
function runTest()
{
@@ -11,7 +17,7 @@
</script>
</head>
-<body onload="runTest();">
+<body onload="runTest();" style="width: 4000px;">
This test must be run in DumpRenderTree as a pixel test. There should not be visual aritfacts after scaling the page.
<div style="width:500px; height:500px; background-color:green;"></div>
</body>

Powered by Google App Engine
This is Rietveld 408576698