Skip to content

Conversation

@ChrisC
Copy link
Contributor

@ChrisC ChrisC commented Dec 17, 2025

Web feature docs: https://github.com/web-platform-dx/web-features/blob/main/features/selection.yml

Note there are number of highlight-* tests mapped here, but I limited the mappings to files that only to seem to test usage of ::selection singularly (as opposed to other highlight pseudos.)

Here's a list of exclusions for reference:
css/css-pseudos/highlight... - Multiple pseudos:

  • highlight-painting-003.html - tests ::selection::target-text::spelling-error::grammar-error
  • highlight-painting-004.html - tests ::selection::target-text::spelling-error::grammar-error
  • highlight-painting-currentcolor-*.html - tests ::selection + ::highlight()
  • highlight-painting-shadows-*.html - tests ::selection + ::target-text

css/css-pseudo/highlight-cascade/

  • highlight-cascade-010.html - tests ::spelling-error only
  • highlight-paired-cascade-004.html - tests ::selection + ::target-text
  • highlight-currentcolor-computed*.html - tests multiple pseudos
  • highlight-pseudos-*.html - tests multiple pseudos
  • highlight-currentcolor-root-* - some test both ::selection + ::highlight()

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

@ChrisC
Copy link
Contributor Author

ChrisC commented Dec 17, 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