Native form validation error messages do not appear

RESOLVED FIXED

Status

()

defect
P3
normal
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: pp.koch, Unassigned)

Tracking

({dev-doc-complete, regression, site-compat})

53 Branch
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox-esr45 unaffected, firefox-esr52 unaffected, firefox53+ fixed, firefox54 fixed, firefox55 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce:

See https://quirksmode.org/dom/forms/firefoxbug.html. Simple test form which ought to show a validation error message when the user hits Submit. File also attached.

New bug since Firefox 53. The test works fine in 52.


Actual results:

On submit the field shows no error message.


Expected results:

On submit the field shows the error message.
I can reproduce this with a clean profile in 53, but not in a clean profile in 54.

Mike, do you know where the best place for this bug to live is?
Flags: needinfo?(mconley)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Bug 345624 was where the initial work to support validation was done, and that was in Core :: DOM: Core & HTML, so let's put it there for now.
Component: Untriaged → DOM: Core & HTML
Flags: needinfo?(mconley)
Product: Firefox → Core

Comment 4

2 years ago
Mozilla forgot to uplift Bug 1341190 to 53  :(
Thanks for finding the regression bug Alice0775! 

Not sure what our options are here short of living with this regression until 54 ships. Liz, something to put on the radar in case we ship a dot release? Kind of sucks to break html5 form validation UI.
Flags: needinfo?(lhenry)
(Reporter)

Comment 6

2 years ago
Since I'm writing an article on this topic and I have to say something about this bug, it is fair to say that this is a bug in Firefox 53 that does not occur in either 52 or 54, correct?

Updated

2 years ago
Duplicate of this bug: 1358511
> it is fair to say that this is a bug in Firefox 53 that does not occur in either 52 or 54, correct?

That sounds correct. It's hard to say if this might be fixed in an upcoming 53 dot release or not (release management will have to decide), but it's def. fixed in 54.
Posted the site compatibility note: https://www.fxsitecompat.com/en-CA/docs/2017/form-validation-error-messages-disappear-quickly/

[Tracking Requested - why for this release]: A site compatibility regression affecting certain web forms using the validation API properly. The patch in Bug 1341190 seems one-liner CSS; the uplift risk should be very low.
Yes, this looks like a great candidate for a 53 dot release if we do one, which is likely.
Flags: needinfo?(lhenry)
Priority: -- → P3

Comment 12

2 years ago
Been over a week now. Any updates on if this is going to be a dot release?
ni? for comment 12
Flags: needinfo?(lhenry)
Handling this now in bug 1341190 where the uplift request is.
Flags: needinfo?(lhenry)
Fixed with Firefox 53.0.2 shipped today.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.