blob: 609e111f856643c8e2c3612b0e22b14511f3b6c7 [file] [log] [blame]
<html>
<head>
<style type="text/css">
.box {
width: 100px;
height: 100px;
background-color: green;
-webkit-transform: rotate(30deg) translateZ(0);
}
</style>
<script type="text/javascript">
if (window.testRunner)
testRunner.dumpAsText();
function doTest() {
if (window.testRunner && window.internals)
document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<!-- Box with opaque background color and transform. -->
<!-- Layer transform does not affect the opaqueness of content. -->
<!-- GraphicsLayer::contentsOpaque for this box should be true. -->
<div class="box"></div>
<pre id="layertree"></pre>
</body>
</html>