blob: e88c072839523064ca891e48891acc8fb6c8bf73 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<script>
function doTest()
{
description("Test to make sure a simple CSS filter does not create a compositing layer. Test is successful of render tree does not show any compositing");
if (window.testRunner) {
var layers = window.internals.layerTreeAsText(document);
if (layers == "")
testPassed("no compositing layers");
else
testFailed("content has compositing layers");
document.getElementById("layertree").innerText = layers;
finishJSTest();
}
}
window.addEventListener('load', doTest, false);
</script>
<img style="-webkit-filter: blur(0);" src="resources/reference.png">
<div id="layertree"></div>