Closed Bug 1814870 (pattern-v) Opened 2 years ago Closed 1 year ago

HTML `pattern` attribute should set `v` flag for regular expressions

Categories

(Core :: DOM: Forms, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox111 --- wontfix
firefox116 --- fixed

People

(Reporter: mathias, Assigned: peterv)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Proposal: https://github.com/whatwg/html/pull/7908
Mozilla Standards Position: https://github.com/mozilla/standards-positions/issues/745

This is similar to when we started enabling the u RegExp flag for pattern attribute values. Enabling the new v flag instead of u enables additional functionality.

Alias: pattern-v
Assignee: nobody → peterv
Severity: -- → S3
Status: NEW → ASSIGNED
Attachment #9337853 - Attachment description: WIP: Bug 1814870 - HTML `pattern` attribute should set `v` flag for regular expressions. r?emilio! → Bug 1814870 - HTML `pattern` attribute should set `v` flag for regular expressions. r?emilio!
Pushed by pvanderbeken@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff49b7e10326 HTML `pattern` attribute should set `v` flag for regular expressions. r=emilio
Regressions: 1837412
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd62ffcd5f04 Remove pattern_attribute.html.ini as is was unexpected passing after a fix. a=test-only
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Regressions: 1848118
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: