Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / canvas-state-stack-simple-expected.html
blob27e6251e0161ff27aea76a1af423b90ffb9a89d3
1 <!DOCTYPE html>
2 <script>
3 window.onload = function() {
4 var context = document.getElementById('c').getContext('2d');
5 context.scale(2,2);
6 context.beginPath();
7 context.rect(0,0,75,75);
8 context.clip();
9 context.fillStyle = 'green';
10 context.fillRect(0,0,30,30);
11 context.fillRect(50,50,30,30);
13 </script>
14 <p>Two green squares of different sizes should appear below</p>
15 <canvas id="c" width="300" height="300"></canvas>