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

Unified Diff: LayoutTests/fast/events/wheelevent-document-createevent.html

Issue 23381002: WheelEvent created using document.createEvent() is not properly initialized (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/events/wheelevent-document-createevent-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/wheelevent-document-createevent.html
diff --git a/LayoutTests/fast/events/wheelevent-document-createevent.html b/LayoutTests/fast/events/wheelevent-document-createevent.html
new file mode 100644
index 0000000000000000000000000000000000000000..9924d61ac379cdfdf31ace346f89cf4bbd729055
--- /dev/null
+++ b/LayoutTests/fast/events/wheelevent-document-createevent.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<script>
+description("Tests that document.createEvent() properly constructs and initializes a WheelEvent.");
+var wheelEvent = document.createEvent("WheelEvent");
+
+shouldBe("wheelEvent.deltaX", "0");
+shouldBe("wheelEvent.deltaY", "0");
+shouldBe("wheelEvent.deltaZ", "0");
+shouldBe("wheelEvent.deltaMode", "0");
+
+</script>
+<script src="../js/resources/js-test-post.js"></script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/events/wheelevent-document-createevent-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698