-
Notifications
You must be signed in to change notification settings - Fork 682
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
[css-text] Custom character replacement rules for text-transform
#3132
Comments
I've moved this proposal from the wiki to my site a while back: I still think it'd be an interesting thing to pursue, but I have hardly heard anything back about this in the 6 years it's been out, so I'm not convinced interest is high enough. |
One suggestion, let's not continue using the plain
Maybe either require prefixing custom values with (I probably should update Gecko's |
@frivoal The Sebastian |
#4875 mentions the use case to insert characters at specific positions. I think the proposed So far, credit card and phone numbers were mentioned in the other issue. I can imagine formatting other types of numbers like currencies might be a thing, as well. Specifically, adding thousands separators and changing the floating point based on the locale could be something that's covered by that at-rule. Though the more complex the transformations are, the higher the impact is on the performance, of course. Sebastian |
Sorry that was dropped a while back, and there was some stray text still referring to it. This is now gone, you can ignore it. |
There is a 2011 (and subsequently updated) proposal by @frivoal for Defining Custom Text Transforms which I don't see being tracked on Github yet.
Descriptors
transformation
<conversion>#
character-type
extended | legacy | single | spaced
scope
all | [initial || medial || final]
all
The text was updated successfully, but these errors were encountered: