From 7f30b3281aca577a4b43eddc85edcb57a35c7f47 Mon Sep 17 00:00:00 2001 From: Chris Cuellar <58723+ChrisC@users.noreply.github.com> Date: Sun, 26 Oct 2025 17:59:59 -0700 Subject: [PATCH] maps widow-orphans MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- css/CSS2/pagination/WEB_FEATURES.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 css/CSS2/pagination/WEB_FEATURES.yml diff --git a/css/CSS2/pagination/WEB_FEATURES.yml b/css/CSS2/pagination/WEB_FEATURES.yml new file mode 100644 index 00000000000000..db3726f910f1f9 --- /dev/null +++ b/css/CSS2/pagination/WEB_FEATURES.yml @@ -0,0 +1,5 @@ +features: +- name: widows-orphans + files: + - 'orphans-*' + - 'widows-*'