Issue #2790 - Part 1: Add: event state, pseudo-class mapping, SetAutofilled methods

This commit is contained in:
MeladJM 2025-07-18 06:28:23 +08:00 committed by roytam1
commit 13d1054046
9 changed files with 73 additions and 0 deletions

View file

@ -97,4 +97,10 @@ partial interface HTMLTextAreaElement {
// element.
[ChromeOnly]
void setUserInput(DOMString input);
// Sets or clears the autofilled state of this textarea element.
// This is used by the browser's autofill system to indicate when
// a value has been automatically filled (e.g., from saved form data).
[ChromeOnly]
void setAutofilled(boolean autofilled);
};