commit 2a032ca5cec0082d34ff6d216a1e8f7395af1f1e
parent 6586e028930f8f56edb8c6c6c0c84d97842e4bdf
Author: Chris Cuellar <58723+ChrisC@users.noreply.github.com>
Date: Thu, 27 Nov 2025 15:06:49 +0000
Bug 2001509 [wpt PR 56173] - classifies "widow-orphans" web feature, a=testonly
Automatic update from web-platform-tests
maps widow-orphans (#56173)
Feature: widows-orphans
Reference: https://github.com/web-platform-dx/web-features/blob/main/features/widows-orphans.yml
Note: The `widows` and `orphans` CSS properties establish minimum line thresholds for text fragments that result from page, column, or region breaks. These properties help control how text breaks across pages or columns, preventing isolated lines from appearing alone at boundaries.
Search strategy: Searched for tests referencing "widows" and "orphans" properties.
Results:
- Total matches found: 288 unique files
- Filtered: 10 files
WEB_FEATURES.yml files created:
✅ css/CSS2/pagination/WEB_FEATURES.yml - CSS2.1 widows and orphans property tests (10 files)
Excluded (278 files):
- css/css-break/ (65 files): Already mapped to widows-orphans in existing WEB_FEATURES.yml with orphans-* and widows-* patterns
- css/css-multicol/ (112 files): Primary focus is multicol layout and column balancing, using widows/orphans incidentally
- css/CSS2/pagination/ (15 files): Other pagination tests (page-break-* properties), not widows/orphans
- css/css-flexbox/interactive/ (13 files): Primary focus is flexbox; sets widows:1/orphans:1 to prevent page breaks
- css/css-inline/text-box-trim/ (13 files): Primary focus is text-box-trim feature
- css/css-overflow/ (8 files): Overflow tests using these properties incidentally
- Crashtests (11 files): Incidental inclusion
- Other directories (41 files): Various tests using widows/orphans for layout control, not testing the properties themselves
--
wpt-commits: aa1fbc7c9c823cd77d991828e998d23924eca9be
wpt-pr: 56173
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/css/CSS2/pagination/WEB_FEATURES.yml b/testing/web-platform/tests/css/CSS2/pagination/WEB_FEATURES.yml
@@ -0,0 +1,5 @@
+features:
+- name: widows-orphans
+ files:
+ - 'orphans-*'
+ - 'widows-*'