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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html

Issue 1413363003: Always composite position: fixed elements with composited descendants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 Any errors will show below this line.
3 <!-- Having a composited child should always be a position:fixed compositing tri gger -->
4 <div style="position: fixed; width: 100px; height: 100px; background: lightgray" >
5 <div style="will-change: transform; margin: 50px; width: 50px; height: 50px; background: lightblue">
6 </div>
7 </div>
8 <script src="../resources/testharness.js"></script>
9 <script>
10 if (window.testRunner)
11 testRunner.dumpAsText();
12 if (window.internals) {
13 var layers = JSON.parse(internals.layerTreeAsText(document));
14 assert_true(layers.children.length == 1 && layers.children[0].children.lengt h == 1);
15 }
16 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698