blob: f3f794e8b0e807fa399e1a78b10c952cdeb049d5 [file] [log] [blame]
<!DOCTYPE html>
<title>Canvas test: initial.colour</title>
<meta name="author" content="Philip Taylor">
<script src="../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../common/canvas-tests.css">
<body class="show_output">
<h1><a href="index.initial.html">initial</a>.colour</h1>
<p class="desc">Initial state is transparent black</p>
<div class="refs">Spec references:
<ul>
<li><a href="../annotated-spec/canvas.html#testrefs.initial.colour">initial.colour</a>
</ul>
</div>
<p class="notes">Output should be transparent black (not transparent anything-else), but manual
verification can only confirm that it's transparent - it's not possible to make
the actual blackness visible.
<p class="output">Actual output:</p>
<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>
<p class="output expectedtext">Expected output:<p><img src="resources/initial.colour.png" class="output expected" id="expected" alt="">
<ul id="d"></ul>
<script>
_addTest(function(canvas, ctx) {
_assertPixel(canvas, 20,20, 0,0,0,0, "20,20", "0,0,0,0");
});
</script>