W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [css-text] Provide CSS support for automatic spacing (or other separators) in text input field (#4875)

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Sat, 02 May 2020 10:00:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-622928955-1588413643-sysbot+gh@w3.org>
This seems to be another variation of "I need to apply a transform to text styled with CSS to modify spacing, or change it in a way more complex than what we can currently do with `text-transform`".

It's a problem that keeps coming up. it's been solved so many times and in so many ways, it seems odd that a more generalised "text-fixup" option isn't part of CSS. Here's my partial list of references.


All of these proposals relate primarily* to changing the _formatted_ value of the text, rather than the _logical_ value: this proposal included (I don't think there request is that spaces are included as part of the submitted credit card number, just that they're included when the value is displayed on screen).

For this reason I think it's a styling issue and part of CSS's domain.

(*) this is a slightly blurred distinction - first because although that seems to be how it's normally used, it doesn't have to be (see for example https://lists.w3.org/Archives/Public/www-style/2008Sep/0013.html), and second because of https://github.com/w3c/csswg-drafts/issues/3775

GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4875#issuecomment-622928955 using your GitHub account
Received on Saturday, 2 May 2020 10:00:46 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:06 UTC