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)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: 709922234, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

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
Attached file Bug 1277820.html
Chrome52 behave as same as Firefox. However, Edge behave as "Expected results" of comment #0.
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Version: 46 Branch → Trunk
Spec discussion in https://github.com/whatwg/html/issues/1467 but fundamentally this is the same as bug 670837 afaict.
Depends on: 670837
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: