Bug
1876262 [wpt PR 44162] - [text-autospace][text-spacing-trim] Update `text-spacing` shorthand, a=testonly
Automatic update from web-platform-tests
[text-autospace][text-spacing-trim] Update `text-spacing` shorthand
This patch updates the `text-spacing` shorthand parsing:
1. Update the initial value and supported values as per the
resolution at:
https://github.com/w3c/csswg-drafts/issues/9511
2. Change the logic to handle `normal` as both properties
accept `normal` after the spec change above.
3. Fix the canonical order to match the [spec] (`spacing-trim`
comes first).
Current supported values of longhands are:
* `text-autospace`: `normal`, `no-autospace`.
* `text-spacing-trim`: `normal`, `trim-start`, `space-all`,
`space-first`.
The `text-spacing` shorthands support values above and `none`.
[spec]: https://drafts.csswg.org/css-text-4/#text-spacing-property
Bug:
1463890,
1463891
Change-Id: I8a047f4b87ba728e2f577301b5a1fc3ce824341e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
5232448
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1251995}
--
wpt-commits:
2036f94ae33f010be2e3c994961d902dd56f47e5
wpt-pr: 44162