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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/textfieldselection/select-event.html

Issue 2735633006: INPUT/TEXTAREA elements: Dispatch 'select' event only if text selection is changed. (Closed)
Patch Set: Remove throttling Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/textfieldselection/select-event-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/textfieldselection/select-event.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/textfieldselection/select-event.html b/third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/textfieldselection/select-event.html
index 0582d9640f04d297b2fda67ce16c50fc329039ec..b658bd44d3ecabd85fa700f723d1ddf74eebc546 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/textfieldselection/select-event.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/textfieldselection/select-event.html
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<meta charset=utf-8>
+<meta name="timeout" content="long">
<title>text field selection: select()</title>
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
<link rel=help href="https://html.spec.whatwg.org/multipage/#textFieldSelection">
@@ -34,7 +35,7 @@ const actions = [
},
{
label: "selectionDirection",
- action: el => el.selectionDirection = "right"
+ action: el => el.selectionDirection = "backward"
},
{
label: "setSelectionRange()",
@@ -75,7 +76,7 @@ for (const el of els) {
t.step_timeout(() => {
el.onselect = null;
resolve();
- }, 300);
+ }, 100);
});
}, `${elLabel}: ${action.label} a second time (must not fire select)`);
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/textfieldselection/select-event-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698