Chromium Code Reviews

Unified Diff: third_party/WebKit/LayoutTests/fast/events/selectstart-by-arrow-keys.html

Issue 1778683005: Drop remaining [LegacyInterfaceTypeChecking] for Selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix more tests Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/LayoutTests/fast/events/selectstart-by-arrow-keys.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/selectstart-by-arrow-keys.html b/third_party/WebKit/LayoutTests/fast/events/selectstart-by-arrow-keys.html
index e5fdeabb1c348d169291bc6ce1b740ccdb80564e..e49213020a1191ffc39734af62439b6be162c56e 100644
--- a/third_party/WebKit/LayoutTests/fast/events/selectstart-by-arrow-keys.html
+++ b/third_party/WebKit/LayoutTests/fast/events/selectstart-by-arrow-keys.html
@@ -39,7 +39,7 @@ if (window.testRunner) {
// On Mac, home/end doesn't move caret so manually select " World".
if (navigator.platform.indexOf('Mac') == 0)
- window.getSelection().setBaseAndExtent(div.firstChild, div.textContent.indexOf('World'), div.textContent.length);
+ window.getSelection().setBaseAndExtent(div.firstChild, div.textContent.indexOf('World'), div.firstChild, div.textContent.length);
eventSender.keyDown("leftArrow");
logResult('Check (Left arrow)', 1);

Powered by Google App Engine