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

In PDF that's all done with JavaScript.

PDF has "keypress" events which fire as you type into the field, and a "format" event which fires when the value of the field changes. It also makes a distinction between the actual value of the field and the _formatted_ value as it appears on screen - the two can be different, which is how you can get commas in the numbers but not in the submitted value.



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

Received on Tuesday, 5 May 2020 07:37:41 UTC