maxlength attribute of INPUT/TEXTAREA incorrectly handle surrogate pairs

Confirmed Issue #8223935 • Assigned to Sergey D.

Details

Author
Ken T.
Created
Jul 20, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

If a web page has a text fields with maxlength=1, Edge incorrectly allows users to input a surrogate pair. According to the HTML standard, maxlength should limit code-unit length, not code-point length. A surrogate pair consists of two code units.

See https://github.com/whatwg/html/issues/1467 for the details.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Travis L.”

      Changed Assigned To from “Travis L.” to “Sergey D.”

      Changed Status to “Confirmed”

    • This bug was introduced by IE9?
      https://support.microsoft.com/en-us/kb/2633335

    You need to sign in to your Microsoft account to add a comment.

    Sign in