blob: 994eb52dea405602415623b74714cb1c3b916926 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that we make a self painting layer for the inline when will-change requires one.</title>
<script>
function doTest() {
if (window.testRunner) {
testRunner.dumpAsText();
document.getElementById('layers').innerText = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_CONTENT_LAYERS);
}
}
window.addEventListener('load', doTest, false)
</script>
<style>
div {
-webkit-columns: 100px 1;
}
</style>
</head>
<body>
<div style="will-change: opacity">opacity</div>
<div style="will-change: mask">mask</div>
<div style="will-change: backdrop-filter">backdrop-filter</div>
<div style="will-change: filter">filter</div>
<div style="will-change: clip-path">clip-path</div>
<div id=layers></div>
</body>
</html>