-
Notifications
You must be signed in to change notification settings - Fork 707
[selectors] What a whitespace character is #3754
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
Comments
This wasn't an issue about about what white space means in css-text (which is well defined), but one about what it meant in the |
Also, the latest version of the spec on the
I think we can close this issue. |
Agenda+ to confirm the above. Chairs / editors, feel free to close without a conf call discussion if you think this is sufficiently obvious. |
The CSS Working Group just discussed
The full IRC log of that discussion<dael> Topic: What a whitespace character is<dael> github: https://github.com//issues/3754 <dael> florian: Filed against text, but it's a selectors issue. But I'm not editor. I think we can close though. Old definition of common blank is it conains only whitespace. We no longer rely on whitespace so I think this is a non-issue. <dael> TabAtkins: Yeah, close <dael> Rossen_: Other opinions? <dael> Rossen_: Objections to close the issue <dael> RESOLVED: Close theissue |
The issue was about aligning the definitions of white space across CSS, HTML, and Selectors. These definitions are not currently aligned; there are two:
There was a point during which these two sets of characters were aligned. However, because HTML parsing converts various segment break sequences to line feeds in the DOM, it was decided that carriage returns in CSS should be treated like miscellaneous formatting control characters, not as white space. Likewise form feeds. See #1990 and #855 Currently the definition of |
CC @dbaron , who raised the issue. |
So, from the point of view of having definitions and using them sensibly, I think we're good. If we want to reduce that number of definitions, What we might want to do is to reopen #855 and to stop treating CR and FF as control characters, and start including them in document white-space instead, along with LF (and therefore make them invisible, collapse them, allow them in On the other hand, the fact that this test/demo gives 3 different results in Chrome, Firefox and Safari is sad. Maybe we should look at how various kinds of line breaks are (or aren't) normalized when inserting content via the |
https://www.w3.org/Mail/flatten/index?subject=what+a+whitespace++character+is&list=www-style
The i18n WG was reviewing issues that it is tracking and came across the discussion thread in the link above.
The ends of the discussion don't all appear to be tidied up. Could someone (maybe @fantasai?) please summarise what progress was made on the issues raised and the current status.
Thanks.
The text was updated successfully, but these errors were encountered: