Skip to content

input[pattern]:not([required]) should be valid on empty string #261

Description

@Jaaap

All major browsers allow empty values on inputs with a pattern without the required attribute.
HtmlUnit'sisValid() returns false in that case.

Please check for !isRequired() in HtmlInput.isPatternValid()

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions