Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / winding-enumeration.html
blob21200e6cb8774d7b8810dab39eab47cabd898b53
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
8 <script>
9 var canvas = document.createElement("canvas");
10 var context = canvas.getContext("2d");
12 shouldNotThrow("context.fill()");
13 shouldNotThrow("context.fill('nonzero')");
14 shouldThrow("context.fill('randomstring')");
16 shouldNotThrow("context.clip()");
17 shouldNotThrow("context.clip('nonzero')");
18 shouldThrow("context.clip('randomstring')");
20 shouldNotThrow("context.isPointInPath(0, 0)");
21 shouldNotThrow("context.isPointInPath(0, 0, 'nonzero')");
22 shouldThrow("context.isPointInPath(0, 0, 'randomstring')");
23 </script>
25 </body>