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

Side by Side Diff: LayoutTests/compositing/overflow/resources/nested-render-surfaces.js

Issue 686973002: Remove isUnclippedDescendant. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 if (window.testRunner)
2 testRunner.dumpAsTextWithPixelResults();
3
4 function runTest(description) {
5 var pre = document.createElement("pre");
6 document.body.appendChild(pre);
7
8 if (!window.internals) {
9 pre.innerHTML = description;
10 } else {
11 var isUnclipped = window.internals.isUnclippedDescendant(document.getEle mentById('fixed'));
12 pre.innerHTML = "\n'fixed' " + (isUnclipped ? "is" : "is not") + " an un clipped descendant.";
13
14 if (isUnclipped) {
15 pre.innerHTML += "\nPASS";
16 } else {
17 pre.innerHTML += "\nUnclipped Descendants are only relevant for " +
18 "preferCompositingToLCDText, so this result is " +
19 "expected everywhere except in the virtual/gpu/ suite.";
20 }
21 }
22 }
OLDNEW
« no previous file with comments | « LayoutTests/compositing/overflow/nested-render-surfaces-with-rotation.html ('k') | Source/core/rendering/RenderLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698