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

Unified Diff: LayoutTests/fast/dom/shadow/select-in-shadowdom.html

Issue 110173005: Don't dispatch a 'click' event for mousedown/mouseup across form controls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix a test Created 7 years 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/dom/shadow/select-in-shadowdom-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/select-in-shadowdom.html
diff --git a/LayoutTests/fast/dom/shadow/select-in-shadowdom.html b/LayoutTests/fast/dom/shadow/select-in-shadowdom.html
index abefb0f3bd454096d95334af050cb89d69dcf785..b0d747061d10255c8b2b94c48b1906a7582c73ef 100644
--- a/LayoutTests/fast/dom/shadow/select-in-shadowdom.html
+++ b/LayoutTests/fast/dom/shadow/select-in-shadowdom.html
@@ -26,12 +26,12 @@ shadowRoot.lastChild.addEventListener('click', function(e) {
testFailed('Click event on an anchor element should not be fired.');
}, false);
-debug('Selecting from a node to another node in ShadowDOM. This should fire click event on the host.');
+debug('Selecting from a node to another node in ShadowDOM. This should not start page navigation.');
mouseMoveTo(shadowRoot.firstChild);
eventSender.mouseDown();
mouseMoveTo(shadowRoot.firstChild.nextSibling);
eventSender.mouseUp();
-shouldBe('lastClickTarget', 'host');
+shouldBeNull('lastClickTarget');
debug('');
lastClickTarget = null;
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/select-in-shadowdom-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698