browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

Extract HTML `<datalist>` input type subfeatures

Open caugner opened this issue 3 months ago • 3 comments

Summary

Extracts HTML <datalist> input type subfeatures, and duplicates these below html.input.elements.type_*.

Test results and supporting details

To review, look at "grouped by change" in this comment.

Related issues

Once landed, we can tackle the issues mentioned in https://github.com/mdn/browser-compat-data/issues/25723.

caugner avatar Oct 14 '25 12:10 caugner

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

github-actions[bot] avatar Oct 14 '25 12:10 github-actions[bot]

and duplicates these below html.input.elements.type_*.

I'm not sure if this is needed, is it?

I would argue that the duplication is helpful for web developers that are looking at the input types. Recently, we used a similar approach for CSS transition, and IIRC we have a few related cases where a BCD feature relates to two APIs features.

In this case, the duplication helped me ensure the data is correct.

I could imagine adding a requires property to link these subfeatures to each other, ensuring they are within the support version range both of their parent feature, and the linked "required" feature.

Edit: That said, if you prefer that I delete the duplicates, I can drop them.

caugner avatar Oct 17 '25 11:10 caugner

I would like a second opinion if the duplication makes sense. Maybe @ddbeck?

Elchi3 avatar Oct 17 '25 14:10 Elchi3

@Elchi3 Please take a look at this PR when you have a moment. It would be nice to land this change. 🙏

caugner avatar Dec 12 '25 16:12 caugner