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

@ -845,6 +845,16 @@ public:
void SetUserInput(const nsAString& aInput,
nsIPrincipal& aSubjectPrincipal);
/**
* Sets or clears the autofilled state of this input element.
* This is used by the browser's autofill system to indicate when
* a value has been automatically filled (e.g., from saved passwords
* or form data).
*
* @param aAutofilled Whether the element should be marked as autofilled
*/
void SetAutofilled(bool aAutofilled);
// XPCOM GetPhonetic() is OK
/**