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> |