title of form input takes precedent over custom validity text

UNCONFIRMED
Unassigned

Status

()

Core
DOM: Core & HTML
P3
normal
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: Michael Hohner, Unassigned)

Tracking

48 Branch
x86_64
Windows 10
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
Created attachment 8778584 [details]
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.
(Reporter)

Updated

2 years ago
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

Updated

2 years ago
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)

Updated

2 years ago
Flags: needinfo?(bugs)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.