-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
white-space
option lists are redundant and incomplete
#37649
Comments
After many iterations of the CSS Text module, we are left with many versions for the definition of |
The code block at the top of the "Syntax" section doesn't hint at
Please remove it after merging its unique options into one main list. |
The formal syntax will automatically fix itself after syncing with the latest CSS spec. It's not wrong because it's a strict subset of what you could do with the current
Yes it does; it says "white-space-collapse and text-wrap-mode shorthand values", and gives you three examples of specifying a single value representing either a |
If the outdated "Formal syntax" section is an external issue, would it be possible to add a note saying so until it's updated?
I was also confused by this because the Values section says "two values representing shorthand for the white-space-collapse and text-wrap-mode properties". Since it explicitly excludes single values, I assumed |
Yes, welcoming changes to make the shorthand explanation clearer, such as "one or two values". I'm hoping that the formal syntax would be updated soon though, and notes tend to go stale, so I would just leave it as-is. |
A strict subset pretending to be the full set is wrong.
It doesn't say that those are examples, it doesn't say that the list is incomplete. |
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
The page https://developer.mozilla.org/en-US/docs/Web/CSS/white-space contains too many lists of possible values and none of them are complete:
white-space: nowrap;
andwhite-space: break-spaces;
white-space: nowrap;
, but there's no indented paragraph about that in the actual list, so the actual list is incompletewhite-space: nowrap;
and many other valueswhite-space: preserve nowrap;
andwhite-space: collapse;
What did you expect to see?
Only one complete list
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/css/white-space
The text was updated successfully, but these errors were encountered: