Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / script-tests / canvas-path-object.js
blob73610aa9e1d2e7b612a3abde870b365e58467031
1 description("Ensure that the constructor for Path object and dependent functions exist.");
3 shouldBe("typeof document.getElementById", '"function"');
5 var path = new Path2D();
6 shouldBeType("path", "Path2D");
7 shouldBe("typeof path.closePath", '"function"');
8 shouldBe("typeof path.moveTo", '"function"');
9 shouldBe("typeof path.lineTo", '"function"');
10 shouldBe("typeof path.quadraticCurveTo", '"function"');
11 shouldBe("typeof path.bezierCurveTo", '"function"');
12 shouldBe("typeof path.arcTo", '"function"');
13 shouldBe("typeof path.arc", '"function"');
14 shouldBe("typeof path.rect", '"function"');
15 shouldBe("typeof path.ellipse", '"function"');