@@ -10260,7 +10260,7 @@ interface HTMLFormElement extends HTMLElement {
1026010260 *
1026110261 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete)
1026210262 */
10263- autocomplete: string ;
10263+ autocomplete: AutoFillBase ;
1026410264 /**
1026510265 * Retrieves a collection, in source order, of all controls in a given form.
1026610266 *
@@ -10928,7 +10928,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
1092810928 *
1092910929 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete)
1093010930 */
10931- autocomplete: string ;
10931+ autocomplete: AutoFill ;
1093210932 capture: string;
1093310933 /** Sets or retrieves the state of the check box or radio button. */
1093410934 checked: boolean;
@@ -12309,7 +12309,7 @@ declare var HTMLScriptElement: {
1230912309 */
1231012310interface HTMLSelectElement extends HTMLElement {
1231112311 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) */
12312- autocomplete: string ;
12312+ autocomplete: AutoFill ;
1231312313 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */
1231412314 disabled: boolean;
1231512315 /**
@@ -13111,7 +13111,7 @@ declare var HTMLTemplateElement: {
1311113111 */
1311213112interface HTMLTextAreaElement extends HTMLElement {
1311313113 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */
13114- autocomplete: string ;
13114+ autocomplete: AutoFill ;
1311513115 /** Sets or retrieves the width of the object. */
1311613116 cols: number;
1311713117 /** Sets or retrieves the initial contents of the object. */
@@ -27926,6 +27926,9 @@ declare function addEventListener(type: string, listener: EventListenerOrEventLi
2792627926declare function removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2792727927declare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2792827928type AlgorithmIdentifier = Algorithm | string;
27929+ type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
27930+ type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
27931+ type AutoFillSection = `section-${string}`;
2792927932type BigInteger = Uint8Array;
2793027933type BinaryData = ArrayBuffer | ArrayBufferView;
2793127934type BlobPart = BufferSource | Blob | string;
@@ -27976,6 +27979,8 @@ type NamedCurve = string;
2797627979type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
2797727980type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
2797827981type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
27982+ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
27983+ type OptionalPrefixToken<T extends string> = `${T} ` | "";
2797927984type PerformanceEntryList = PerformanceEntry[];
2798027985type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
2798127986type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
@@ -28000,6 +28005,12 @@ type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
2800028005type AudioContextState = "closed" | "running" | "suspended";
2800128006type AuthenticatorAttachment = "cross-platform" | "platform";
2800228007type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
28008+ type AutoFillAddressKind = "billing" | "shipping";
28009+ type AutoFillBase = "" | "off" | "on";
28010+ type AutoFillContactField = "email" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national";
28011+ type AutoFillContactKind = "home" | "mobile" | "work";
28012+ type AutoFillCredentialField = "webauthn";
28013+ type AutoFillNormalField = "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday-day" | "bday-month" | "bday-year" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "name" | "new-password" | "one-time-code" | "organization" | "postal-code" | "street-address" | "transaction-amount" | "transaction-currency" | "username";
2800328014type AutoKeyword = "auto";
2800428015type AutomationRate = "a-rate" | "k-rate";
2800528016type AvcBitstreamFormat = "annexb" | "avc";
0 commit comments