diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 9f2370f1c..4ddf73b08 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -7344,7 +7344,7 @@ interface HTMLInputElement extends HTMLElement { * When present, marks an element that can't be submitted without a value. */ required: boolean; - selectionDirection: string | null; + selectionDirection: "forward" | "backward" | "none" | null; /** * Gets or sets the end position or offset of a text selection. */ @@ -8935,7 +8935,7 @@ interface HTMLTextAreaElement extends HTMLElement { * Sets or retrieves the number of horizontal rows contained in the object. */ rows: number; - selectionDirection: string; + selectionDirection: "forward" | "backward" | "none"; /** * Gets or sets the end position or offset of a text selection. */ diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 8ec57059a..711e0db01 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -1476,6 +1476,10 @@ "read-only": 1, "override-type": "HTMLFormElement | null" }, + "selectionDirection": { + "name": "selectionDirection", + "override-type": "\"forward\" | \"backward\" | \"none\"" + }, "valueAsDate": { "name": "valueAsDate", "override-type": "Date | null" @@ -1668,6 +1672,10 @@ "labels": { "name": "labels", "override-type": "NodeListOf" + }, + "selectionDirection": { + "name": "selectionDirection", + "override-type": "\"forward\" | \"backward\" | \"none\"" } } },