Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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: w3c/csswg-drafts#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}
- Loading branch information