mdn / mdn/browser-compat-data

Add api.HTMLElement* constructor data

Open
#30,380 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

data:api
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What type of issue is this?

Missing compatibility data

What information was incorrect, unhelpful, or incomplete?

In https://github.com/mdn/browser-compat-data/pull/30349 we decided to not record HTMLElement* constructor data for now. We should add this data all at once, if we want to record it. It is a separate project, not a drive-by task.

The HTML specification added these HTML element constructors ca. 2016 to make them sub-classable for custom elements.

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

HTML element constructor keys.

Did you test this? If so, how?

Didn't test, the collector tests need to be fixed so we could collect this data all at once.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

MDN content needs to decide if it wants content pages. Maybe mentioning the constructor in HTMLElement* interface pages is enough.

Do you have anything more you want to share?

No response

MDN URL

No response

MDN metadata

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the decision in PR 30349 and the collector tests that the issue says need fixing. Determine the complete HTMLElement* constructor set and whether MDN content pages are needed; done means the collector can gather the data and the HTML element constructor keys are recorded consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.