Closed Bug 2078801 Opened 1 month ago Closed 1 month ago

Extend HTMLElementTagNameMap with custom element definitions

Categories

(Toolkit :: UI Widgets, task, P3)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: mstriemer, Assigned: mstriemer)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(1 external file)

The HTMLElementTagNameMap interface stores the mapping from tag name to element definition, we should extend it so we can avoid casting to a custom element type

This should work within the firefox repo, but hopefully we can do so by including something in the custom element's source file so we can export it for web. That may be a reasonable follow up rather than solving both at once if it isn't straightforward with JSDoc based types

Depends on: 2078840
Assignee: nobody → mstriemer
Status: NEW → ASSIGNED
Pushed by mstriemer@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3dfdbfffcb50 https://hg.mozilla.org/integration/autoland/rev/b7c7e2bd856d Extend HTMLElementTagNameMap for UI Widgets r=settings-reviewers,reusable-components-reviewers,hjones
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: