servo/tests/wpt/css-tests/css-regions-1_dev/html/reference/canvas3d-001-ref.htm

29 lines
No EOL
871 B
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Reftest Reference</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
<script src="../support/Three.js" type="text/javascript"></script>
<script src="../support/static-cube.js" type="text/javascript"></script>
<style>
.flow,
.region {
width: 400px;
height: 300px;
}
.region {
border: 2px solid black;
}
</style>
</head>
<body>
<p>Test passes if you see a cube (with blue, teal and purple sides) inside a black-bordered rectangle and no red.</p>
<div class="region">
<div class="flow" id="container">
<!-- A WebGL <canvas> will be created here, via script (see static-cube.js) -->
</div>
</div>
</body></html>