Skip to content

Conversation

@ChrisC
Copy link
Contributor

@ChrisC ChrisC commented Nov 21, 2025

Reference: https://github.com/web-platform-dx/web-features/blob/main/features/width-height.yml

Note: The width and height CSS properties establish the preferred physical dimensions of an element. This classification includes tests for the auto value, percentage values, and property behavior across various contexts.

Search strategy: Searched for tests linking to "propdef-width", "propdef-height", "the-width-property", "the-height-property", and "preferred-size-properties".

WEB_FEATURES.yml files created/edited:
✅ css/CSS2/normal-flow/WEB_FEATURES.yml - CSS2.1 width/height tests (195 files)
✅ css/CSS2/css1/WEB_FEATURES.yml - CSS1 width/height tests (12 files)
✅ css/CSS2/positioning/WEB_FEATURES.yml - Absolute positioning width/height tests (4 files)
✅ css/CSS2/page-box/WEB_FEATURES.yml - Page container tests (4 files)
✅ css/CSS2/visudet/WEB_FEATURES.yml - Height percentage tests (3 files)
✅ css/CSS2/csswg-issues/submitted/css2.1/WEB_FEATURES.yml - Anonymous boxes test (1 file)
✅ css/css-sizing/WEB_FEATURES.yml - Percentage height test (1 file)
✅ css/css-sizing/parsing/WEB_FEATURES.yml - Width/height parsing tests (4 files)
✅ css/css-box/parsing/WEB_FEATURES.yml - CSS Box 3 parsing tests (4 files)
✅ svg/geometry/parsing/WEB_FEATURES.yml - SVG sizing properties test (1 file)

Excluded:

  • Float behavior (3 files): Primary focus is float shrink-to-fit, not width property
  • Anonymous boxes/pagination (4 files): Primary focus is anonymous boxes/pagination behavior
  • Run-in display (2 files): Primary focus is run-in display, not width/height properties
  • Stretch keyword (2 files): Primary focus is stretch keyword
  • Interpolate-size (4 files): Already mapped to interpolate-size feature
  • css/css-sizing/animation/: Width/height animation tests (5 files)
  • Other features (4 files): Flexbox quirks, multicol, tables, calc() - width/height used incidentally

Originally submitted as part of b26f616

Feature: width-height
Reference: https://github.com/web-platform-dx/web-features/blob/main/features/width-height.yml

Note: The `width` and `height` CSS properties establish the preferred physical dimensions of an element. This classification includes tests for the auto value, percentage values, and property behavior across various contexts.

Search strategy: Searched for tests linking to "propdef-width", "propdef-height", "the-width-property", "the-height-property", and "preferred-size-properties".

Results:
- Total matches found: 431
- Filtered: 234 files

WEB_FEATURES.yml files created:
✅ css/CSS2/normal-flow/WEB_FEATURES.yml - CSS2.1 width/height tests (195 files)
✅ css/CSS2/css1/WEB_FEATURES.yml - CSS1 width/height tests (12 files)
✅ css/CSS2/positioning/WEB_FEATURES.yml - Absolute positioning width/height tests (4 files)
✅ css/CSS2/page-box/WEB_FEATURES.yml - Page container tests (4 files)
✅ css/CSS2/visudet/WEB_FEATURES.yml - Height percentage tests (3 files)
✅ css/CSS2/csswg-issues/submitted/css2.1/WEB_FEATURES.yml - Anonymous boxes test (1 file)
✅ css/css-sizing/WEB_FEATURES.yml - Percentage height test (1 file)
✅ css/css-sizing/animation/WEB_FEATURES.yml - Width/height animation tests (5 files)
✅ css/css-sizing/parsing/WEB_FEATURES.yml - Width/height parsing tests (4 files)
✅ css/css-box/parsing/WEB_FEATURES.yml - CSS Box 3 parsing tests (4 files)
✅ svg/geometry/parsing/WEB_FEATURES.yml - SVG sizing properties test (1 file)

Excluded (21 files):
- Float behavior (3 files): Primary focus is float shrink-to-fit, not width property
- Anonymous boxes/pagination (4 files): Primary focus is anonymous boxes/pagination behavior
- Run-in display (2 files): Primary focus is run-in display, not width/height properties
- Stretch keyword (2 files): Primary focus is stretch keyword
- Interpolate-size (4 files): Already mapped to interpolate-size feature
- Other features (4 files): Flexbox quirks, multicol, tables, calc() - width/height used incidentally
These seem to test sizing support in css animations primarily, so removing them.
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