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

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: rebase 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 <script>
6 onload = function() {
7 var box = document.getElementById('box');
8 box.style.transform = 'translate(0, 100px)';
9 box.style.opacity = 0.5;
10 box.scrollLeft = 100;
11 box.scrollTop = 100;
12 }
13 </script>
14
15 <style>
16 #box {
17 width: 100px;
18 height: 100px;
19 /* A composited DIV background is clipped differently from a non-composited
20 one. This causes the box to be composited in both cases
21 TODO(majidvp): fix this mismatch between CC and blink rendering
22 */
23 backface-visibility: hidden;
24 }
25
26 #covered, #green {
27 width: 85px;
28 height: 85px;
29 }
30
31 #box, #covered {
32 background-color: #ff8080;
33 overflow: auto;
34 }
35
36 #green {
37 position: relative;
38 left: 100px;
39 top: 100px;
40 background-color: #00ff00;
41 }
42
43 </style>
44
45 <div id="box">
46 <div id="green"></div>
47 </div>
48 <div id="covered"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698