Skip to content

Map "SVG" to web-features#57423

Merged
jugglinmike merged 1 commit into
web-platform-tests:masterfrom
bocoup:web-features-svg
Jan 30, 2026
Merged

Map "SVG" to web-features#57423
jugglinmike merged 1 commit into
web-platform-tests:masterfrom
bocoup:web-features-svg

Conversation

@jugglinmike

Copy link
Copy Markdown
Contributor

Hello, reviewers! 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.

@foolip @jcscottiii To identify "core" SVG tests, I:

  • started with the spec reference metadata, limiting to those tests that link to the "TR" spec for SVG, SVG1.1, and SVG2
  • included adjacent tests that don't reference and particular specification
  • avoided tests that overlap with advanced CSS features
  • included tests that appear to be testing APIs explicitly referenced by the svg web-features compat_features key.

@jugglinmike

Copy link
Copy Markdown
Contributor Author

Matching test files for SVG (part 1 of 4)

./css/css-sizing
(213 non-matching test files hidden)
(10 non-matching test files hidden)

@jugglinmike

Copy link
Copy Markdown
Contributor Author

Matching test files for SVG (part 2 of 4)

./html/rendering/replaced-elements/svg-embedded-sizing
./html/rendering/replaced-elements/svg-inline-sizing
./svg/shapes
./svg/shapes/reftests
./svg/extensibility/interfaces
./svg/types/scripted
(39 non-matching test files hidden)

@jugglinmike

Copy link
Copy Markdown
Contributor Author

Matching test files for SVG (part 3 of 4)

./svg/import
(39 non-matching test files hidden)
(4 non-matching test files hidden)

@jugglinmike

Copy link
Copy Markdown
Contributor Author

Matching test files for SVG (part 4 of 4)

./svg/path/bearing
./svg/struct
./svg/struct/reftests
(35 non-matching test files hidden)
./svg/render
./svg/painting
(2 non-matching test files hidden)
(14 non-matching test files hidden)
(2 non-matching test files hidden)
./svg/painting/reftests
(7 non-matching test files hidden)
(33 non-matching test files hidden)
./svg/coordinate-systems
(3 non-matching test files hidden)

features:
- name: svg
files:
- "*"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is the use of * here and ** in the previous file intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yup. I've suggested "*" here to avoid collisions with the classifiers in the subdirectory, svg/render/order/. On the other hand, svg/path/bearing/ has no subdirectories, and in cases like that, I prefer "**" in order to automatically match subdirectories when/if they are introduced.

@jugglinmike jugglinmike merged commit e3b3389 into web-platform-tests:master Jan 30, 2026
25 checks passed
@jugglinmike jugglinmike deleted the web-features-svg branch January 30, 2026 20:09
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.

4 participants