Closed Bug 561623 Opened 14 years ago Closed 14 years ago

Add a tooltip to show @title to the user when an input element has @pattern

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mounir, Assigned: mounir)

References

(Blocks 1 open bug, )

Details

(Keywords: html5)

Attachments

(1 file)

When an input element has a pattern attribute, the title attribute may be used to inform the user about what is requested. This should be showed to the user via a tooltip when the mouse is hover for example.

Note: I'm not really sure about the Product/Component so do not hesitate to change them if you think I'm wrong.
Actually, nothing has to be done: the default behavior is to show a tooltip with @title. So authors will have to be sure @title contains a description of @pattern.
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: dev-doc-needed
Resolution: --- → FIXED
Assignee: nobody → mounir.lamouri
Component: Form Manager → General
Product: Toolkit → Firefox
QA Contact: form.manager → general
Let's have a test for this.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch Test v1Splinter Review
This test is quite simple but I think there is no test checking that the tooltip is correctly shown for input elements.
Attachment #460246 - Flags: review?(gavin.sharp)
Attachment #460246 - Flags: review?(gavin.sharp) → review+
Marking checkin-needed: a=test-only
http://hg.mozilla.org/mozilla-central/rev/920c60069743
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: