7 ms·
Probably not what you think— ‘ch’ specifies length in terms of the width of a ‘0’ character in the element’s font, not in terms of actual character count.
by JonathonW 4y ago
Probably not what you think— ‘ch’ specifies length in terms of the width of a ‘0’ character in the element’s font, not in terms of actual character count.
- Waterluvian 4y agoGiven fonts aren’t all monospace it would have been impossible to achieve the latter, so I expected and am glad for the former. It is an approximation based on one character. And for monospace it is character count.