Open
Bug 1277820
Opened 9 years ago
Updated 3 years ago
form elements `maxlength` attribute: emoji characters should be is seen as one characters
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
UNCONFIRMED
People
(Reporter: 709922234, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
164 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20160511224433
Steps to reproduce:
maxlength="10"
Can only enter 5 emoji characters
Expected results:
maxlength it should indicate the length of the character display
Should not be String.length
Summary: form elements `maxlength` attribute: emoji characters should be regarded as one → form elements `maxlength` attribute: emoji characters should be is seen as one characters
![]() |
||
Comment 1•9 years ago
|
||
Chrome52 behave as same as Firefox.
However, Edge behave as "Expected results" of comment #0.
![]() |
||
Updated•9 years ago
|
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Version: 46 Branch → Trunk
![]() |
||
Comment 2•9 years ago
|
||
Spec discussion in https://github.com/whatwg/html/issues/1467 but fundamentally this is the same as bug 670837 afaict.
Depends on: 670837
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•