commit 73e78c697da8eb4c7a7792f7b3bfeda6f5f39555 parent 6a8528da2efc26a67749a2b8b8386a5faa18e264 Author: Stalgia Grigg <stalgia@bocoup.com> Date: Mon, 8 Dec 2025 12:25:55 +0000 Bug 2004311 [wpt PR 56426] - Map `text-align` and `text-align-last` web-features, a=testonly Automatic update from web-platform-tests Map `text-align` and `text-align-last` web-features (#56426) Feature: `text-align` and `text-align-last` Reference: - https://github.com/web-platform-dx/web-features/blob/main/features/text-align.yml - https://github.com/web-platform-dx/web-features/blob/main/features/text-align-last.yml Notable inclusions for `text-align` 1. `css-display/run-in/text-align-applies-to-004.xht` - There is an argument that this test overlaps with `display: run-in` but the test ensures that `run-in` doesn't break `test-align` or vice-versa Notable exclusions for `text-align-last` 1. `text-align: justify` tests that mention text-align-last in assertions - `css/css-text/text-align/text-align-justify-001.html` through `text-align-justify-006.html` Primary focus: testing `text-align: justify` behavior. These tests mention text-align-last only to document the default behavior when text-align-last is not specified, not to test text-align-last itself. 2. `text-align: match-parent` tests - `css/css-text/text-align/text-align-match-parent-05.html` Primary focus: testing `text-align: match-parent` behavior and its interaction with text-align-all, not text-align-last specifically. -- wpt-commits: d9a9fbe7661eccce48caccb6334fdc912f3474c7 wpt-pr: 56426 Diffstat:
4 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/css/CSS2/text/WEB_FEATURES.yml b/testing/web-platform/tests/css/CSS2/text/WEB_FEATURES.yml @@ -2,3 +2,6 @@ features: - name: word-spacing files: - word-spacing-* +- name: text-align + files: + - text-align-* diff --git a/testing/web-platform/tests/css/css-display/run-in/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-display/run-in/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: text-align + files: + - text-align-applies-to-004.xht diff --git a/testing/web-platform/tests/css/css-text/parsing/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-text/parsing/WEB_FEATURES.yml @@ -29,3 +29,12 @@ features: - name: tab-size files: - tab-size-* +- name: text-align + files: + - "text-align-all-*" + - text-align-computed.html + - text-align-invalid.html + - text-align-valid.html +- name: text-align-last + files: + - "text-align-last-*" diff --git a/testing/web-platform/tests/css/css-text/text-align/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-text/text-align/WEB_FEATURES.yml @@ -0,0 +1,11 @@ +features: +- name: text-align + files: + - "text-align-*" + - "!text-align-last-*" + - "!text-align-*-last-*" +- name: text-align-last + files: + - "text-align-last-*" + - "text-align-*-last-*" +