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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/layer-creation/examples.html

Issue 2565073002: Implement the algorithm to test merging and overlap in PaintArtifactCompositor. (Closed)
Patch Set: none Created 4 years 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 <div id="layer1-firstlayer" style="position: relative; width: 100px; height: 100 px; background: lightblue"></div>
4
5 <div id="layer2-willchange" style="position: relative; width: 100px; height: 100 px; background: lightgray; will-change: transform"></div>
6
7 <div id="merged-with-layer1" style="position: relative; width: 100px; height: 10 0px; background: lightblue"></div>
8
9 <div id="layer3-overlaps-layer2" style="position: absolute; top: 50px; left: 50p x; width: 100px; height: 100px; background: lightgreen"></div>
10
11 <div id="layer4-3dtransform" style="position: relative; width: 100px; height: 10 0px; background: yellow; transform: translateZ(0)"></div>
12
13 <div id="merged-with-layer1-second" style="position: relative; width: 100px; hei ght: 100px; background: lightblue"></div>
14
15
16 <pre id=output>
17 </pre>
18 <script>
19 if (window.internals)
20 output.innerText =
21 window.internals.layerTreeAsText(document);
22
23 if (window.testRunner)
24 window.testRunner.dumpAsText();
25 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698