Remove redundant statements per code review
diff --git a/html/semantics/forms/textfieldselection/initial-selection.html b/html/semantics/forms/textfieldselection/initial-selection.html index fcb084d..39695f9 100644 --- a/html/semantics/forms/textfieldselection/initial-selection.html +++ b/html/semantics/forms/textfieldselection/initial-selection.html
@@ -47,7 +47,6 @@ document.body.appendChild(el); assert_equals(el.selectionStart, 0, "selectionStart before"); assert_equals(el.selectionStart, 0, "selectionEnd before"); - el.defaultValue = "value"; }, "Created by script, in document: textarea"); test(() => { @@ -57,7 +56,6 @@ document.body.appendChild(el); assert_equals(el.selectionStart, 0, "selectionStart before " + type); assert_equals(el.selectionStart, 0, "selectionEnd before " + type); - el.defaultValue = "value"; } }, "Created by script, in document: input"); @@ -70,7 +68,6 @@ el.selectionStart = el.selectionStart; assert_equals(el.selectionStart, 0, "selectionStart before"); assert_equals(el.selectionStart, 0, "selectionEnd before"); - el.defaultValue = "value"; }, "Created by script, in document, trigger setter first: textarea"); test(() => { @@ -81,7 +78,6 @@ el.selectionStart = el.selectionStart; assert_equals(el.selectionStart, 0, "selectionStart before " + type); assert_equals(el.selectionStart, 0, "selectionEnd before " + type); - el.defaultValue = "value"; } }, "Created by script, in document, trigger setter first: input"); </script>