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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/wheelevent-constructor.html

Issue 2261173005: wheel layout tests moved to fast/events/wheel folder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/LayoutTests/fast/events/wheelevent-constructor.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/wheelevent-constructor.html b/third_party/WebKit/LayoutTests/fast/events/wheelevent-constructor.html
deleted file mode 100644
index e4b30521a5d25bd00e1ba7dff171f13e6d93d35c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/events/wheelevent-constructor.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEvent">
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-description("Tests the constructor of the standard wheel event");
-
-var testEvent;
-shouldNotThrow("testEvent = new WheelEvent('wheel')");
-shouldBe("testEvent.__proto__", "WheelEvent.prototype");
-shouldBe("testEvent.deltaX", "0");
-shouldBe("testEvent.deltaY", "0");
-shouldBe("testEvent.deltaZ", "0");
-shouldBe("testEvent.deltaMode", "WheelEvent.DOM_DELTA_PIXEL");
-
-shouldNotThrow("testEvent = new WheelEvent('wheel', { deltaX: 10.2, deltaY: 20.3, deltaZ: 30.4, deltaMode: WheelEvent.DOM_DELTA_PAGE })");
-shouldBe("testEvent.__proto__", "WheelEvent.prototype");
-shouldBe("testEvent.deltaX", "10.2");
-shouldBe("testEvent.deltaY", "20.3");
-shouldBe("testEvent.deltaZ", "30.4");
-shouldBe("testEvent.deltaMode", "WheelEvent.DOM_DELTA_PAGE");
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698