blob: b4439ccf0b1fa167b0da31937b3854630c6dd9d3 [file] [log] [blame]
<!DOCTYPE html>
.offscreen_filter_area {
filter: grayscale(1);
position: absolute;
left: -3000px;
width: 2048px;
height: 2048px;
background-color: blue;
<p>This test passes if memory usage is not so hight that it crashes the browser. It should be less than 100MB.</p>
function createLayer() {
var el = document.createElement("div");
el.className = "offscreen_filter_area";
return el;
if (window.testRunner)
for (var i = 0; i < 2000; ++i)