Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update syntax for white-space #25572

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Jan 4, 2025

Summary

see mdn/content#37494 for details

Test results and supporting details

https://drafts.csswg.org/css-text-4/#propdef-white-space for spec

Related issues

@github-actions github-actions bot added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Jan 4, 2025
@github-actions github-actions bot added the size:xs [PR only] 0-6 LoC changed label Jan 4, 2025
@skyclouds2001 skyclouds2001 marked this pull request as ready for review January 4, 2025 09:31
@skyclouds2001 skyclouds2001 changed the title white-space become a shorthand for text-wrap-mode Update syntax for white-space Jan 4, 2025
@@ -316,7 +316,7 @@
"chrome": {
"version_added": "114",
"partial_implementation": true,
"notes": "Accepts shorthand values for `white-space-collapse` and `text-wrap` only."
"notes": "Accepts shorthand values for `white-space-collapse` and `text-wrap-mode` only."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're here, could we explicitly add what doesn't work:

Suggested change
"notes": "Accepts shorthand values for `white-space-collapse` and `text-wrap-mode` only."
"notes": "Only accepts values for `white-space-collapse` and `text-wrap-mode`, not `white-space-trim`."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:xs [PR only] 0-6 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants