From 1f97d9ddefe4899b32b8f1686e97e6172264bbbc Mon Sep 17 00:00:00 2001 From: Eugene Kashida Date: Thu, 22 May 2025 21:11:15 -0700 Subject: [PATCH 1/3] test: remove non-native html attributes --- .../undeclared/expected.html | 42 ------------------- .../undeclared/modules/x/child/child.html | 14 ------- .../modules/x/component/component.html | 14 ------- .../as-component-prop/with-@api/expected.html | 42 ------------------- .../with-@api/modules/x/child/child.html | 14 ------- .../modules/x/component/component.html | 14 ------- .../without-@api-values/expected-ssr.html | 42 ------------------- .../modules/x/child/child.html | 14 ------- .../modules/x/component/component.html | 14 ------- .../without-@api/expected-ssr.html | 42 ------------------- .../without-@api/modules/x/child/child.html | 14 ------- .../modules/x/component/component.html | 14 ------- 12 files changed, 280 deletions(-) diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/expected.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/expected.html index b942d89b02..e6784968bb 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/expected.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/expected.html @@ -155,21 +155,12 @@ bgColor: - - bgsound: - - - button: - checked: colSpan: - - command: - contentEditable: @@ -179,9 +170,6 @@ datetime: - - details: - dir: foo @@ -194,9 +182,6 @@ exportparts: - - fieldset: - form: @@ -212,9 +197,6 @@ id: foo - - input: - inputmode: @@ -236,18 +218,12 @@ itemtype: - - keygen: - lang: foo loop: - - marquee: - maxLength: @@ -266,18 +242,9 @@ noValidate: - - ol: - open: - - optgroup: - - - option: - readOnly: @@ -293,15 +260,9 @@ rowSpan: - - select: - selected: - - textarea: - title: foo @@ -311,9 +272,6 @@ useMap: - - video: - diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html index 1003ca8148..22ebe1545c 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html @@ -50,26 +50,20 @@ autofocus: {autofocus} autoplay: {autoplay} bgColor: {bgColor} - bgsound: {bgsound} - button: {button} checked: {checked} colSpan: {colSpan} - command: {command} contentEditable: {contentEditable} crossorigin: {crossorigin} datetime: {datetime} - details: {details} dir: {dir} disabled: {disabled} enterkeyhint: {enterkeyhint} exportparts: {exportparts} - fieldset: {fieldset} form: {form} formaction: {formaction} formnovalidate: {formnovalidate} hidden: {hidden} id: {id} - input: {input} inputmode: {inputmode} ismap: {ismap} itemid: {itemid} @@ -77,30 +71,22 @@ itemref: {itemref} itemscope: {itemscope} itemtype: {itemtype} - keygen: {keygen} lang: {lang} loop: {loop} - marquee: {marquee} maxLength: {maxLength} minLength: {minLength} multiple: {multiple} muted: {muted} nonce: {nonce} noValidate: {noValidate} - ol: {ol} open: {open} - optgroup: {optgroup} - option: {option} readOnly: {readOnly} required: {required} reversed: {reversed} role: {role} rowSpan: {rowSpan} - select: {select} selected: {selected} - textarea: {textarea} title: {title} translate: {translate} useMap: {useMap} - video: {video} \ No newline at end of file diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/component/component.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/component/component.html index c58c67cd3f..e9017fd7b4 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/component/component.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/component/component.html @@ -58,25 +58,19 @@ autofocus={dynamic} autoplay={dynamic} bgcolor={dynamic} - bgsound={dynamic} - button={dynamic} checked={dynamic} colspan={dynamic} - command={dynamic} contenteditable={dynamic} crossorigin={dynamic} datetime={dynamic} - details={dynamic} dir={dynamic} disabled={dynamic} enterkeyhint={dynamic} exportparts={dynamic} - fieldset={dynamic} form={dynamic} formaction={dynamic} formnovalidate={dynamic} id={dynamic} - input={dynamic} inputmode={dynamic} ismap={dynamic} itemid={dynamic} @@ -84,31 +78,23 @@ itemref={dynamic} itemscope={dynamic} itemtype={dynamic} - keygen={dynamic} lang={dynamic} loop={dynamic} - marquee={dynamic} maxlength={dynamic} minlength={dynamic} multiple={dynamic} muted={dynamic} nonce={dynamic} novalidate={dynamic} - ol={dynamic} open={dynamic} - optgroup={dynamic} - option={dynamic} readonly={dynamic} required={dynamic} reversed={dynamic} role={dynamic} rowspan={dynamic} - select={dynamic} selected={dynamic} - textarea={dynamic} title={dynamic} translate={dynamic} usemap={dynamic} - video={dynamic} > \ No newline at end of file diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html index eae746749d..b41a237bf5 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html @@ -158,21 +158,12 @@ bgColor: foo - - bgsound: foo - - - button: foo - checked: foo colSpan: foo - - command: foo - contentEditable: foo @@ -182,9 +173,6 @@ datetime: - - details: foo - dir: foo @@ -200,9 +188,6 @@ exportparts: - - fieldset: foo - form: foo @@ -218,9 +203,6 @@ id: foo - - input: foo - inputmode: foo @@ -242,18 +224,12 @@ itemtype: foo - - keygen: foo - lang: foo loop: foo - - marquee: foo - maxLength: foo @@ -272,18 +248,9 @@ noValidate: foo - - ol: foo - open: foo - - optgroup: foo - - - option: foo - readOnly: foo @@ -299,9 +266,6 @@ rowSpan: foo - - select: foo - selected: foo @@ -311,9 +275,6 @@ tabIndex: foo - - textarea: foo - title: foo @@ -323,9 +284,6 @@ useMap: foo - - video: foo - diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html index a254534229..903025c691 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html @@ -51,27 +51,21 @@ autofocus: {autofocus} autoplay: {autoplay} bgColor: {bgColor} - bgsound: {bgsound} - button: {button} checked: {checked} colSpan: {colSpan} - command: {command} contentEditable: {contentEditable} crossorigin: {crossorigin} datetime: {datetime} - details: {details} dir: {dir} disabled: {disabled} draggable: {draggable} enterkeyhint: {enterkeyhint} exportparts: {exportparts} - fieldset: {fieldset} form: {form} formaction: {formaction} formnovalidate: {formnovalidate} hidden: {hidden} id: {id} - input: {input} inputmode: {inputmode} ismap: {ismap} itemid: {itemid} @@ -79,32 +73,24 @@ itemref: {itemref} itemscope: {itemscope} itemtype: {itemtype} - keygen: {keygen} lang: {lang} loop: {loop} - marquee: {marquee} maxLength: {maxLength} minLength: {minLength} multiple: {multiple} muted: {muted} nonce: {nonce} noValidate: {noValidate} - ol: {ol} open: {open} - optgroup: {optgroup} - option: {option} readOnly: {readOnly} required: {required} reversed: {reversed} role: {role} rowSpan: {rowSpan} - select: {select} selected: {selected} spellcheck: {spellcheck} tabIndex: {tabIndex} - textarea: {textarea} title: {title} translate: {translate} useMap: {useMap} - video: {video} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/component/component.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/component/component.html index 45db140bcf..285f559f9f 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/component/component.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/component/component.html @@ -51,27 +51,21 @@ autofocus={dynamic} autoplay={dynamic} bgcolor={dynamic} - bgsound={dynamic} - button={dynamic} checked={dynamic} colspan={dynamic} - command={dynamic} contenteditable={dynamic} crossorigin={dynamic} datetime={dynamic} - details={dynamic} dir={dynamic} disabled={dynamic} draggable={dynamic} enterkeyhint={dynamic} exportparts={dynamic} - fieldset={dynamic} form={dynamic} formaction={dynamic} formnovalidate={dynamic} hidden={dynamic} id={dynamic} - input={dynamic} inputmode={dynamic} ismap={dynamic} itemid={dynamic} @@ -79,33 +73,25 @@ itemref={dynamic} itemscope={dynamic} itemtype={dynamic} - keygen={dynamic} lang={dynamic} loop={dynamic} - marquee={dynamic} maxlength={dynamic} minlength={dynamic} multiple={dynamic} muted={dynamic} nonce={dynamic} novalidate={dynamic} - ol={dynamic} open={dynamic} - optgroup={dynamic} - option={dynamic} readonly={dynamic} required={dynamic} reversed={dynamic} role={dynamic} rowspan={dynamic} - select={dynamic} selected={dynamic} spellcheck={dynamic} tabindex={dynamic} - textarea={dynamic} title={dynamic} translate={dynamic} usemap={dynamic} - video={dynamic} > diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected-ssr.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected-ssr.html index e5817cd428..9293574219 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected-ssr.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected-ssr.html @@ -158,21 +158,12 @@ bgColor: child-value - - bgsound: child-value - - - button: child-value - checked: child-value colSpan: child-value - - command: child-value - contentEditable: child-value @@ -182,9 +173,6 @@ datetime: child-value - - details: child-value - dir: parent-value @@ -200,9 +188,6 @@ exportparts: child-value - - fieldset: child-value - form: child-value @@ -218,9 +203,6 @@ id: parent-value - - input: child-value - inputmode: child-value @@ -242,18 +224,12 @@ itemtype: child-value - - keygen: child-value - lang: parent-value loop: child-value - - marquee: child-value - maxLength: child-value @@ -272,18 +248,9 @@ noValidate: child-value - - ol: child-value - open: child-value - - optgroup: child-value - - - option: child-value - readOnly: child-value @@ -299,9 +266,6 @@ rowSpan: child-value - - select: child-value - selected: child-value @@ -311,9 +275,6 @@ tabIndex: parent-value - - textarea: child-value - title: parent-value @@ -323,9 +284,6 @@ useMap: child-value - - video: child-value - diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html index a254534229..903025c691 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html @@ -51,27 +51,21 @@ autofocus: {autofocus} autoplay: {autoplay} bgColor: {bgColor} - bgsound: {bgsound} - button: {button} checked: {checked} colSpan: {colSpan} - command: {command} contentEditable: {contentEditable} crossorigin: {crossorigin} datetime: {datetime} - details: {details} dir: {dir} disabled: {disabled} draggable: {draggable} enterkeyhint: {enterkeyhint} exportparts: {exportparts} - fieldset: {fieldset} form: {form} formaction: {formaction} formnovalidate: {formnovalidate} hidden: {hidden} id: {id} - input: {input} inputmode: {inputmode} ismap: {ismap} itemid: {itemid} @@ -79,32 +73,24 @@ itemref: {itemref} itemscope: {itemscope} itemtype: {itemtype} - keygen: {keygen} lang: {lang} loop: {loop} - marquee: {marquee} maxLength: {maxLength} minLength: {minLength} multiple: {multiple} muted: {muted} nonce: {nonce} noValidate: {noValidate} - ol: {ol} open: {open} - optgroup: {optgroup} - option: {option} readOnly: {readOnly} required: {required} reversed: {reversed} role: {role} rowSpan: {rowSpan} - select: {select} selected: {selected} spellcheck: {spellcheck} tabIndex: {tabIndex} - textarea: {textarea} title: {title} translate: {translate} useMap: {useMap} - video: {video} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/component/component.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/component/component.html index 45db140bcf..285f559f9f 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/component/component.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/component/component.html @@ -51,27 +51,21 @@ autofocus={dynamic} autoplay={dynamic} bgcolor={dynamic} - bgsound={dynamic} - button={dynamic} checked={dynamic} colspan={dynamic} - command={dynamic} contenteditable={dynamic} crossorigin={dynamic} datetime={dynamic} - details={dynamic} dir={dynamic} disabled={dynamic} draggable={dynamic} enterkeyhint={dynamic} exportparts={dynamic} - fieldset={dynamic} form={dynamic} formaction={dynamic} formnovalidate={dynamic} hidden={dynamic} id={dynamic} - input={dynamic} inputmode={dynamic} ismap={dynamic} itemid={dynamic} @@ -79,33 +73,25 @@ itemref={dynamic} itemscope={dynamic} itemtype={dynamic} - keygen={dynamic} lang={dynamic} loop={dynamic} - marquee={dynamic} maxlength={dynamic} minlength={dynamic} multiple={dynamic} muted={dynamic} nonce={dynamic} novalidate={dynamic} - ol={dynamic} open={dynamic} - optgroup={dynamic} - option={dynamic} readonly={dynamic} required={dynamic} reversed={dynamic} role={dynamic} rowspan={dynamic} - select={dynamic} selected={dynamic} spellcheck={dynamic} tabindex={dynamic} - textarea={dynamic} title={dynamic} translate={dynamic} usemap={dynamic} - video={dynamic} > diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected-ssr.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected-ssr.html index 18594991e9..a3f1cacd56 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected-ssr.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected-ssr.html @@ -158,21 +158,12 @@ bgColor: - - bgsound: - - - button: - checked: colSpan: - - command: - contentEditable: @@ -182,9 +173,6 @@ datetime: - - details: - dir: foo @@ -200,9 +188,6 @@ exportparts: - - fieldset: - form: @@ -218,9 +203,6 @@ id: foo - - input: - inputmode: @@ -242,18 +224,12 @@ itemtype: - - keygen: - lang: foo loop: - - marquee: - maxLength: @@ -272,18 +248,9 @@ noValidate: - - ol: - open: - - optgroup: - - - option: - readOnly: @@ -299,9 +266,6 @@ rowSpan: - - select: - selected: @@ -311,9 +275,6 @@ tabIndex: foo - - textarea: - title: foo @@ -323,9 +284,6 @@ useMap: - - video: - diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html index a254534229..903025c691 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html @@ -51,27 +51,21 @@ autofocus: {autofocus} autoplay: {autoplay} bgColor: {bgColor} - bgsound: {bgsound} - button: {button} checked: {checked} colSpan: {colSpan} - command: {command} contentEditable: {contentEditable} crossorigin: {crossorigin} datetime: {datetime} - details: {details} dir: {dir} disabled: {disabled} draggable: {draggable} enterkeyhint: {enterkeyhint} exportparts: {exportparts} - fieldset: {fieldset} form: {form} formaction: {formaction} formnovalidate: {formnovalidate} hidden: {hidden} id: {id} - input: {input} inputmode: {inputmode} ismap: {ismap} itemid: {itemid} @@ -79,32 +73,24 @@ itemref: {itemref} itemscope: {itemscope} itemtype: {itemtype} - keygen: {keygen} lang: {lang} loop: {loop} - marquee: {marquee} maxLength: {maxLength} minLength: {minLength} multiple: {multiple} muted: {muted} nonce: {nonce} noValidate: {noValidate} - ol: {ol} open: {open} - optgroup: {optgroup} - option: {option} readOnly: {readOnly} required: {required} reversed: {reversed} role: {role} rowSpan: {rowSpan} - select: {select} selected: {selected} spellcheck: {spellcheck} tabIndex: {tabIndex} - textarea: {textarea} title: {title} translate: {translate} useMap: {useMap} - video: {video} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/component/component.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/component/component.html index 45db140bcf..285f559f9f 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/component/component.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/component/component.html @@ -51,27 +51,21 @@ autofocus={dynamic} autoplay={dynamic} bgcolor={dynamic} - bgsound={dynamic} - button={dynamic} checked={dynamic} colspan={dynamic} - command={dynamic} contenteditable={dynamic} crossorigin={dynamic} datetime={dynamic} - details={dynamic} dir={dynamic} disabled={dynamic} draggable={dynamic} enterkeyhint={dynamic} exportparts={dynamic} - fieldset={dynamic} form={dynamic} formaction={dynamic} formnovalidate={dynamic} hidden={dynamic} id={dynamic} - input={dynamic} inputmode={dynamic} ismap={dynamic} itemid={dynamic} @@ -79,33 +73,25 @@ itemref={dynamic} itemscope={dynamic} itemtype={dynamic} - keygen={dynamic} lang={dynamic} loop={dynamic} - marquee={dynamic} maxlength={dynamic} minlength={dynamic} multiple={dynamic} muted={dynamic} nonce={dynamic} novalidate={dynamic} - ol={dynamic} open={dynamic} - optgroup={dynamic} - option={dynamic} readonly={dynamic} required={dynamic} reversed={dynamic} role={dynamic} rowspan={dynamic} - select={dynamic} selected={dynamic} spellcheck={dynamic} tabindex={dynamic} - textarea={dynamic} title={dynamic} translate={dynamic} usemap={dynamic} - video={dynamic} > From 30e5e6b82ba68f20ccb900777049e328c3dc2d83 Mon Sep 17 00:00:00 2001 From: Eugene Kashida Date: Thu, 22 May 2025 21:17:14 -0700 Subject: [PATCH 2/3] test: update idl attr inputmode to inputMode --- .../as-component-prop/undeclared/modules/x/child/child.html | 2 +- .../as-component-prop/with-@api/expected.html | 2 +- .../as-component-prop/with-@api/modules/x/child/child.html | 2 +- .../as-component-prop/with-@api/modules/x/child/child.js | 2 +- .../without-@api-values/modules/x/child/child.html | 2 +- .../without-@api-values/modules/x/child/child.js | 2 +- .../as-component-prop/without-@api/modules/x/child/child.html | 2 +- .../as-component-prop/without-@api/modules/x/child/child.js | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html index 22ebe1545c..c0c48b447c 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html @@ -64,7 +64,7 @@ formnovalidate: {formnovalidate} hidden: {hidden} id: {id} - inputmode: {inputmode} + inputmode: {inputMode} ismap: {ismap} itemid: {itemid} itemprop: {itemprop} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html index b41a237bf5..2345237a99 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html @@ -204,7 +204,7 @@ id: foo - inputmode: foo + inputmode: ismap: diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html index 903025c691..1445f424c9 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html @@ -66,7 +66,7 @@ formnovalidate: {formnovalidate} hidden: {hidden} id: {id} - inputmode: {inputmode} + inputmode: {inputMode} ismap: {ismap} itemid: {itemid} itemprop: {itemprop} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.js b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.js index 0c20aee0e7..6518230562 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.js +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.js @@ -74,7 +74,7 @@ export default class extends LightningElement { @api hidden; @api id; @api input; - @api inputmode; + @api inputMode; @api ismap; @api itemid; @api itemprop; diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html index 903025c691..1445f424c9 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html @@ -66,7 +66,7 @@ formnovalidate: {formnovalidate} hidden: {hidden} id: {id} - inputmode: {inputmode} + inputmode: {inputMode} ismap: {ismap} itemid: {itemid} itemprop: {itemprop} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.js b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.js index 0a2fdb7444..82e7858fcf 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.js +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.js @@ -74,7 +74,7 @@ export default class extends LightningElement { hidden = 'child-value'; id = 'child-value'; input = 'child-value'; - inputmode = 'child-value'; + inputMode = 'child-value'; ismap = 'child-value'; itemid = 'child-value'; itemprop = 'child-value'; diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html index 903025c691..1445f424c9 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html @@ -66,7 +66,7 @@ formnovalidate: {formnovalidate} hidden: {hidden} id: {id} - inputmode: {inputmode} + inputmode: {inputMode} ismap: {ismap} itemid: {itemid} itemprop: {itemprop} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.js b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.js index bc9b789eeb..0f749f8522 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.js +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.js @@ -74,7 +74,7 @@ export default class extends LightningElement { hidden; id; input; - inputmode; + inputMode; ismap; itemid; itemprop; From 478ff3fccce830fe08909820d4267c74a53ef5ef Mon Sep 17 00:00:00 2001 From: Eugene Kashida Date: Fri, 23 May 2025 14:08:00 -0700 Subject: [PATCH 3/3] chore: stragglers --- .../undeclared/expected.html | 3 -- .../undeclared/modules/x/child/child.html | 1 - .../as-component-prop/with-@api/expected.html | 3 -- .../with-@api/modules/x/child/child.html | 1 - .../without-@api-values/expected-ssr.html | 3 -- .../without-@api-values/expected.html | 45 ------------------- .../modules/x/child/child.html | 1 - .../without-@api/expected-ssr.html | 3 -- .../without-@api/expected.html | 45 ------------------- .../without-@api/modules/x/child/child.html | 1 - .../without-@api/modules/x/child/child.js | 14 ------ 11 files changed, 120 deletions(-) diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/expected.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/expected.html index e6784968bb..b77b609cee 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/expected.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/expected.html @@ -140,9 +140,6 @@ ariaValueText: foo - - audio: - autocapitalize: diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html index c0c48b447c..403c2d918a 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/undeclared/modules/x/child/child.html @@ -45,7 +45,6 @@ ariaValueMin: {ariaValueMin} ariaValueNow: {ariaValueNow} ariaValueText: {ariaValueText} - audio: {audio} autocapitalize: {autocapitalize} autofocus: {autofocus} autoplay: {autoplay} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html index 2345237a99..4d6986bbac 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/expected.html @@ -143,9 +143,6 @@ ariaValueText: foo - - audio: - autocapitalize: foo diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html index 1445f424c9..f7157e9818 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/with-@api/modules/x/child/child.html @@ -46,7 +46,6 @@ ariaValueMin: {ariaValueMin} ariaValueNow: {ariaValueNow} ariaValueText: {ariaValueText} - audio: {audio} autocapitalize: {autocapitalize} autofocus: {autofocus} autoplay: {autoplay} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected-ssr.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected-ssr.html index 9293574219..917860bb59 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected-ssr.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected-ssr.html @@ -143,9 +143,6 @@ ariaValueText: parent-value - - audio: child-value - autocapitalize: child-value diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected.html index 9102a5ab2f..15f2c3650a 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/expected.html @@ -143,9 +143,6 @@ ariaValueText: child-value - - audio: child-value - autocapitalize: child-value @@ -158,21 +155,12 @@ bgColor: child-value - - bgsound: child-value - - - button: child-value - checked: child-value colSpan: child-value - - command: child-value - contentEditable: child-value @@ -182,9 +170,6 @@ datetime: child-value - - details: child-value - dir: child-value @@ -200,9 +185,6 @@ exportparts: child-value - - fieldset: child-value - form: child-value @@ -218,9 +200,6 @@ id: child-value - - input: child-value - inputmode: child-value @@ -242,18 +221,12 @@ itemtype: child-value - - keygen: child-value - lang: child-value loop: child-value - - marquee: child-value - maxLength: child-value @@ -272,18 +245,9 @@ noValidate: child-value - - ol: child-value - open: child-value - - optgroup: child-value - - - option: child-value - readOnly: child-value @@ -299,9 +263,6 @@ rowSpan: child-value - - select: child-value - selected: child-value @@ -311,9 +272,6 @@ tabIndex: child-value - - textarea: child-value - title: child-value @@ -323,9 +281,6 @@ useMap: child-value - - video: child-value - diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html index 1445f424c9..f7157e9818 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api-values/modules/x/child/child.html @@ -46,7 +46,6 @@ ariaValueMin: {ariaValueMin} ariaValueNow: {ariaValueNow} ariaValueText: {ariaValueText} - audio: {audio} autocapitalize: {autocapitalize} autofocus: {autofocus} autoplay: {autoplay} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected-ssr.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected-ssr.html index a3f1cacd56..8d89c83504 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected-ssr.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected-ssr.html @@ -143,9 +143,6 @@ ariaValueText: foo - - audio: - autocapitalize: diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected.html index 03c3222a10..4dac8178a8 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/expected.html @@ -143,9 +143,6 @@ ariaValueText: - - audio: - autocapitalize: @@ -158,21 +155,12 @@ bgColor: - - bgsound: - - - button: - checked: colSpan: - - command: - contentEditable: @@ -182,9 +170,6 @@ datetime: - - details: - dir: @@ -200,9 +185,6 @@ exportparts: - - fieldset: - form: @@ -218,9 +200,6 @@ id: - - input: - inputmode: @@ -242,18 +221,12 @@ itemtype: - - keygen: - lang: loop: - - marquee: - maxLength: @@ -272,18 +245,9 @@ noValidate: - - ol: - open: - - optgroup: - - - option: - readOnly: @@ -299,9 +263,6 @@ rowSpan: - - select: - selected: @@ -311,9 +272,6 @@ tabIndex: - - textarea: - title: @@ -323,9 +281,6 @@ useMap: - - video: - diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html index 1445f424c9..f7157e9818 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.html @@ -46,7 +46,6 @@ ariaValueMin: {ariaValueMin} ariaValueNow: {ariaValueNow} ariaValueText: {ariaValueText} - audio: {audio} autocapitalize: {autocapitalize} autofocus: {autofocus} autoplay: {autoplay} diff --git a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.js b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.js index 0f749f8522..2031c035d9 100644 --- a/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.js +++ b/packages/@lwc/engine-server/src/__tests__/fixtures/attribute-global-html/as-component-prop/without-@api/modules/x/child/child.js @@ -53,27 +53,21 @@ export default class extends LightningElement { autofocus; autoplay; bgColor; - bgsound; - button; checked; colSpan; - command; contentEditable; crossorigin; datetime; - details; dir; disabled; draggable; enterkeyhint; exportparts; - fieldset; form; formaction; formnovalidate; hidden; id; - input; inputMode; ismap; itemid; @@ -81,32 +75,24 @@ export default class extends LightningElement { itemref; itemscope; itemtype; - keygen; lang; loop; - marquee; maxLength; minLength; multiple; muted; nonce; noValidate; - ol; open; - optgroup; - option; readOnly; required; reversed; role; rowSpan; - select; selected; spellcheck; tabIndex; - textarea; title; translate; useMap; - video; }