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

I wonder if the interaction with copy and paste should to be considered.

For example, in the UK, bank accounts have sort codes which are conventionally written 01-23-45. I'd like to be able to type into a sort code field using only digits, and have it displayed conventionally. But i would also like to be able to copy from a conventionally formatted source, say a PDF invoice, and paste that into a sort code field, hyphens and all, and get the right result.

Then what happens if i select all and copy from such a field? Should i get back what i typed, or what i see? What if the application populated the field, and i never typed anything?

-- 
GitHub Notification of comment by tomwhoiscontrary
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4875#issuecomment-2045009513 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 9 April 2024 12:11:55 UTC