Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1630)

Side by Side Diff: sky/tests/events/pointer-events.sky

Issue 846783003: Add PointerEvent interface to Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/core/events/PointerEvent.idl ('k') | sky/tests/events/pointer-events-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <sky>
2 <import src="../resources/chai.sky" />
3 <import src="../resources/mocha.sky" />
4 <script>
5 describe("Pointer events", function() {
6 it("should be constructable", function() {
7 var evt = new PointerEvent("pointerdown", {
8 kind: "touch",
9 });
10 assert.ok(evt);
11 assert.equal(evt.kind, "touch");
12 assert.equal(evt.radiusMajor, 0);
13 });
14 });
15 </script>
16 </sky>
OLDNEW
« no previous file with comments | « sky/engine/core/events/PointerEvent.idl ('k') | sky/tests/events/pointer-events-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698