Skip to content

Support data for Unicode flag on HTML pattern attribute #4209

@valtlai

Description

@valtlai

Browsers should use the u flag when matching the input value against HTML pattern attribute. (Spec.)

Initial implementations didn’t use the flag, but now at least Chrome, Firefox and Safari Technology Review 53 do.

A test case:

<form>
   <input value="a𝌆b" pattern="a.b" required>
   <button>Test</button>
</form>

Maybe an additional note for https://caniuse.com/#feat=input-pattern would suffice?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions