Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / canvas-transform-non-invertible.html
blob3d9ee8b47508302c39fdd7106dade93c300fcf70
1 <!DOCTYPE HTML>
2 <!-- Test based on that found at
3 http://philip.html5.org/tests/canvas/suite/tests/index.2d.transformation.transform.html
5 After the non-invertible transform the fillRect call should have no effect
6 -->
7 <title>Canvas test: 2d.transformation.transform.non-invertible</title>
8 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback">FAIL (fallback content)</p></canvas>
9 <script>
10 var ctx = document.getElementById("canvas").getContext("2d");
11 ctx.fillStyle = '#0f0';
12 ctx.fillRect(0, 0, 100, 100);
13 ctx.transform(0,0, 0,0, 0,0);
14 ctx.fillStyle = '#f00';
15 ctx.fillRect(0, 0, 100, 100);
16 </script>