maxlength attribute of INPUT/TEXTAREA incorrectly handle surrogate pairs

Confirmed Issue #8223935 • Assigned to Bo C.


kent t.
Jul 20, 2016
This issue is public.
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 for the details.


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?

    • Microsoft Edge Team

      Changed Assigned To from “Sergey D.” to “Bo C.”

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

    Sign in