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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/wheelevent-in-text-node.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-in-text-node.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/wheelevent-in-text-node.html b/third_party/WebKit/LayoutTests/fast/events/wheelevent-in-text-node.html
deleted file mode 100644
index 0c5e0248289b5e76c37c65a7b830e6873c17a2a6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/events/wheelevent-in-text-node.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <script src="../../resources/js-test.js"></script>
- <script>
- window.jsTestIsAsync = true;
-
- function test() {
- var div = document.querySelector('div');
- if (window.eventSender) {
- eventSender.mouseMoveTo(div.offsetLeft + 5, div.offsetTop + 5);
- eventSender.mouseScrollBy(0,120);
- } else {
- debug("FAIL: This test requires window.eventSender.");
- finishJSTest();
- }
- }
-
- function wheelHandler(e) {
- window.theEvent = e;
-
- debug("'Real' MouseWheel events should not be dispatched on the text node, but instead on its parent.");
- shouldBeEqualToString('theEvent.target.nodeName', 'DIV');
- finishJSTest();
- }
-
- window.onload = function () {
- var div = document.querySelector('div');
- div.addEventListener('mousewheel', wheelHandler);
- test();
- };
- </script>
-</head>
-<body>
- <div>This is a div containing text. Wheel events originating on the text
- node should target the div.</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698