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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/visual-update-expected.html

Issue 2041193005: [compositorworker] compositor proxy mutation updates underlying layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-upstream-registration
Patch Set: Use RAII pattern Created 4 years, 6 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 <style>
6 #box {
7 width: 100px;
8 height: 100px;
9 /* A composited DIV background is clipped differently from a non-composited
10 one. This causes the box to be composited in both cases
11 TODO(majidvp): fix this mismatch between CC and blink rendering
12 */
13 backface-visibility: hidden;
14 }
15
16 #covered, #green {
17 width: 85px;
18 height: 85px;
19 }
20
21 #box, #covered {
22 background-color: #ff8080;
23 overflow: auto;
24 }
25
26 #green {
27 position: relative;
28 left: 100px;
29 top: 100px;
30 background-color: #00ff00;
31 }
32
33 </style>
34
35 <div id="box">
36 <div id="green"></div>
37 </div>
38 <div id="covered"></div>
39
40 <script>
41 var box = document.getElementById('box');
42 box.style.transform = 'translate(0, 100px)';
43 box.style.opacity = 0.5;
44 box.scrollLeft = 100;
45 box.scrollTop = 100;
46 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698