3 ms·
Apple clearly intended to implement it though, and did so incorrectly.
by syrrim 4y ago
Apple clearly intended to implement it though, and did so incorrectly.
- Someone 4y agoClearly? Where did they say so? I do not rule out that, if you look at the source code or git history of their code, there are comments or test cases explicitly stating they deviate from enforcing a fixed maximum length in code points if doing so breaks up a grapheme cluster. Also: what do other browsers do when you paste, for example, an ‘é’ that is made up of two code points ‘e’ and a combining character into a field that accepts only a single further code point? Do they just add an ‘e’?
- zamadatix 4y agoMost é (like the one in your comment) are just encoded as U+00E9 but manually creating it as a combination and testing on Chrome it does just convert back to being an e on paste.