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

Unified Diff: third_party/WebKit/LayoutTests/compositing/transitions/transform-on-large-layer-expected.html

Issue 2232373003: Fix reference result for compositing/transitions/transform-on-large-layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Match expectation resize behavior to actual Created 4 years, 4 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 | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/compositing/transitions/transform-on-large-layer-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/transitions/transform-on-large-layer-expected.html b/third_party/WebKit/LayoutTests/compositing/transitions/transform-on-large-layer-expected.html
index 4f8eb8eed8075dfe30241bc8bbcedf8bcb63d23a..771138a16a88b32cd4d38b2378ac90a77e9d4298 100644
--- a/third_party/WebKit/LayoutTests/compositing/transitions/transform-on-large-layer-expected.html
+++ b/third_party/WebKit/LayoutTests/compositing/transitions/transform-on-large-layer-expected.html
@@ -8,6 +8,7 @@
width: 1000px;
height: 2000px;
background-color: green;
+ transform: translate3d(0, -1000px, 0);
}
#sandbox {
@@ -17,16 +18,28 @@
overflow: hidden;
}
</style>
+ <script type="text/javascript">
+ function run()
+ {
+ if (window.testRunner) {
+ testRunner.useUnfortunateSynchronousResizeMode();
+ testRunner.waitUntilDone();
+ window.setTimeout(notifyDone, 1200);
+ }
+ window.resizeTo(1600,1200);
+ }
+ function notifyDone()
+ {
+ testRunner.notifyDone();
+ }
+ </script>
</head>
-<script>
- window.resizeTo(1600,1200);
-</script>
-<body>
- <div id=description>
+<body onload="run()">
+ <div id=description>
The test passes if the box below turns green.
</div>
- <div id=sandbox>
+ <div id=sandbox>
<div id="box"><font style="opacity:0">ABC</font></div>
</div>
</body>
-</html>
+</html>
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698