Open Bug 1292897 Opened 8 years ago Updated 3 years ago

title of form input takes precedent over custom validity text

Categories

(Core :: DOM: Core & HTML, defect, P5)

48 Branch
x86_64
Windows 10
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bugzzilla, Unassigned)

Details

Attachments

(1 file)

Attached file Test case
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160726073904

Steps to reproduce:

Set custom validity text using setCustomValidity() to an input element that also has a title attribute.


Actual results:

When hovering over the input, the title text is displayed.


Expected results:

The custom validity text should be displayed, as it is likely more informative for the situation.
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
QA Whiteboard: [bugday-20160808]
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Chrome has the same behaviour. 
.validationMessage is correctly set in this case though. 


Olli, do you think it's an UA design or a spec issue?
Flags: needinfo?(bugs)
Flags: needinfo?(bugs)
Priority: -- → P3

Bulk-downgrade of unassigned, untouched DOM/Storage bug's priority.

If you have reason to believe, this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: P3 → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: