| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/constraints/support/validator.js
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/constraints/support/validator.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/constraints/support/validator.js
|
| index cd9d96404f59230327fd1b5aa1733f1723267354..e969ce460da77321ed7c622d7e1bf7014e005852 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/constraints/support/validator.js
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/constraints/support/validator.js
|
| @@ -285,30 +285,10 @@ var validator = {
|
| },
|
|
|
| set_dirty: function(ctl) {
|
| - document.designMode = "on";
|
| ctl.focus();
|
| var old_value = ctl.value;
|
| ctl.value = "a";
|
| ctl.value = old_value;
|
| - if (
|
| - // See https://html.spec.whatwg.org/multipage/#input-type-attr-summary
|
| - // and https://html.spec.whatwg.org/multipage/#textFieldSelection
|
| - (
|
| - ctl.tagName === "INPUT" && (
|
| - ctl.type === "text" ||
|
| - ctl.type === "search" ||
|
| - ctl.type === "tel" ||
|
| - ctl.type === "url" ||
|
| - ctl.type === "password"
|
| - )
|
| - ) ||
|
| - ctl.tagName === "TEXTAREA"
|
| - ) {
|
| - ctl.value += "1";
|
| - ctl.setSelectionRange(ctl.value.length - 1, ctl.value.length);
|
| - document.execCommand("Delete");
|
| - }
|
| - document.designMode = "off";
|
| },
|
|
|
| pre_check: function(ctl, item) {
|
|
|