Skip to content

Add caniuse links to hyphenate-character and hyphenate-limit-chars - #4343

Closed
bartveneman wants to merge 1 commit into
web-platform-dx:mainfrom
bartveneman:hyphens-caniuse
Closed

bartveneman wants to merge 1 commit into
web-platform-dx:mainfrom
bartveneman:hyphens-caniuse

Conversation

@bartveneman

Copy link
Copy Markdown

Noticed these were missing while doing some frontend archeology.

There are also dozens of other caniuse links missing. What would be the preferred way to update these? Add them to this PR or create several smaller PRs?

@github-actions github-actions Bot added the feature definition Creating or defining new features or groups of features. label Sep 11, 2026
@ddbeck

ddbeck commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Hi @bartveneman, thanks for your interest in helping out! The wf- features on caniuse are actually imported from web-features, so these links end up being self-referential. I don't think we want to create those links, but that's not currently communicated anywhere. I've opened #4345 for a better error message.

There are other features where mappings might exist, but it's not exactly straightforward. We have some guidance in our docs to help you learn how to set those values. There are two further complications worth mentioning:

  1. Some caniuse features are currently unmappable because the web-features ID represents a larger (or smaller) feature than caniuse covers (especially for older features). To map those, we need to be able to merge features and mint historical features; this is currently blocked by Demo: merge authoring #4083 and related work.

  2. There are a couple of WIP PRs, which you'll probably want to avoid duplicating:

If you're still interested in helping, running npx tsx ./scripts/caniuse.ts from the root of the project can show you a Markdown formatted list of caniuse features and whether they're mapped. If you're still keen to contribute, a PR of any size is welcome, though small PRs (yes, even one liners) tend to get merged more quickly. Limiting yourself to 3-5 open PRs at a time is nice too.

If there are questions, issues (or PRs with guesses) are also welcome. Thank you!

@ddbeck ddbeck closed this Sep 11, 2026
@bartveneman
bartveneman deleted the hyphens-caniuse branch September 11, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants