blob: 4bfd87e1917923c20d238b233d9b59fa75a29418 [file] [log] [blame]
<!DOCTYPE html>
<html><head><title>Compositor Iframe Sadface</title>
<style>
body { margin: 0; padding: 0; }
.composited {
transform: translateZ(0);
background-color: green;
position:fixed;
left:0; top:0; right:0; bottom:0;
}
iframe {
position:fixed;
left: 0; top: 0;
width:100%;
height: 100%;
border:0;
}
</style>
<script type="text/javascript">
if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
}
</script>
</head>
<body>
<div class="composited"></div>
<!-- You should see a light green box filling the top/left of the window, inside a darker green background.
If the "glass" in the iframe is considered opaque, then drawing errors will occur and tiles become black
(light gray with the glass).
-->
<iframe src="resources/clear-fixed-iframe-content.html" frameborder="0"></iframe>
</body>
</html>