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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/compositor-worker/visual-update-expected.html

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!--
3 Tests that a change from the worker produces a visual update.
4 -->
5 <script>
6 window.jsTestIsAsync = true;
7 </script>
8
9 <script>
10 onload = function() {
11 var box = document.getElementById('box');
12 box.style.transform = 'translate(0, 100px)';
13 box.style.opacity = 0.5;
14 box.scrollLeft = 100;
15 box.scrollTop = 100;
16 if (window.testRunner)
17 testRunner.notifyDone();
18 }
19 </script>
20
21 <style>
22 #box {
23 width: 100px;
24 height: 100px;
25 }
26
27 #covered, #green {
28 width: 85px;
29 height: 85px;
30 }
31
32 #box, #covered {
33 background-color: #ff8080;
34 overflow: auto;
35 }
36
37 #green {
38 position: relative;
39 left: 100px;
40 top: 100px;
41 background-color: #00ff00;
42 }
43
44 </style>
45
46 <div id="box">
47 <div id="green"></div>
48 </div>
49 <div id="covered"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698