Skip to content

Conversation

@ChrisC
Copy link
Contributor

@ChrisC ChrisC commented Dec 16, 2025

I batched web feature classification of nth-child and nth-of-type to minimize future merge conflicts.

As I was classifying, I also found likely additional mappings for the related nth-child-of feature. Those changes are all in this commit. Happy to revert that or move to a different PR if it adds too much scope to this PR!

One notable exclusion here is child-indexed-pseudo-class.html from any mapping (tests both nth-child and nth-of-type).


As of 2025-12-05, the wpt-pr-bot is requesting reviews from code owners for changes to WEB_FEATURES.yml files. To learn more about the purpose of these files, check out this presentation from TPAC 2025, Annotating WPT to Surface the Status of the Platform

- nth-child-of-*
- name: nth-of-type
files:
- 'negated-*-of-type*'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the time of commit, this includes:

  • negated-last-of-type-invalidation.html
  • negated-negated-first-of-type-when-ancestor-changes.html (+ ref)
  • negated-negated-last-of-type-when-ancestor-changes.html (+ ref)
  • negated-always-matches-negated-first-of-type-when-ancestor-changes.html (+ ref)
  • negated-always-matches-negated-last-of-type-when-ancestor-changes.html (+ ref)
  • negated-never-matches-negated-first-of-type-when-ancestor-changes.html (+ ref)
  • negated-never-matches-negated-last-of-type-when-ancestor-changes.html (+ ref)
  • negated-is-always-matches-negated-first-of-type-when-ancestor-changes.html (+ ref)
  • negated-is-always-matches-negated-last-of-type-when-ancestor-changes.html (+ ref)
  • negated-is-never-matches-negated-first-of-type-when-ancestor-changes.html (+ ref)
  • negated-is-never-matches-negated-last-of-type-when-ancestor-changes.html (+ ref)
  • negated-first-of-type-in-nonsubject-position.html

@ChrisC
Copy link
Contributor Author

ChrisC commented Dec 16, 2025

cc @foolip @jcscottiii

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants