2 testRunner.dumpAsTextWithPixelResults();
4 function runTest(description) {
5 var pre = document.createElement("pre");
6 document.body.appendChild(pre);
8 if (!window.internals) {
9 pre.innerHTML = description;
11 var isUnclipped = window.internals.isUnclippedDescendant(document.getElementById('fixed'));
12 pre.innerHTML = "\n'fixed' " + (isUnclipped ? "is" : "is not") + " an unclipped descendant.";
15 pre.innerHTML += "\nPASS";
17 pre.innerHTML += "\nUnclipped Descendants are only relevant for " +
18 "preferCompositingToLCDText, so this result is " +
19 "expected everywhere except in the virtual/gpu/ suite.";