Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / canvas / canvas-unbalanced-save-expected.html
1 <!DOCTYPE html>
2 <script>
3 window.onload = function () {
4     var ctx = document.getElementById('c').getContext('2d');
5     ctx.fillStyle = 'green';
6     ctx.fillRect(0, 0, 100, 100);
7     ctx.fillStyle = 'blue';
8     ctx.fillRect(10, 10, 80, 80);
9     ctx.fillStyle = 'red';
10     ctx.fillRect(20, 20, 60, 60);
11 }
12 </script>
13 <p>The canvas below should contain green, blue and red nested squares, all centered with respect to each other.</p>
14 <canvas id="c" width="100" height="100"></canvas>