blob: eeb392f93f201ffe64c25dbd24e23ab37329120b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
.red {
background-color: red;
}
.green {
background-color: green;
}
div {
height: 100px;
width: 100px;
}
.backfaceVisible {
transform: rotateY(180deg);
backface-visibility: visible;
}
.backfaceHidden {
transform: rotateY(180deg);
backface-visibility: hidden;
}
</style>
</head>
<body>
<!-- In the pixel results, two green squares should be visible. -->
<div class="red">
<div class="backfaceVisible green">
</div>
</div>
<p>
<div class="green">
<div class="backfaceHidden red">
</div>
</div>
<script>
if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults(); // This is only useful as a pixel test.
document.write("<span style='position:absolute; top:-5000px'>This test is only useful as a pixel test</span>");
}
</script>
</body>
</html>