Last Comment Bug 561623 - Add a tooltip to show @title to the user when an input element has @pattern
: Add a tooltip to show @title to the user when an input element has @pattern
: html5
Product: Firefox
Classification: Client Software
Component: General (show other bugs)
: unspecified
: All All
-- normal (vote)
: ---
Assigned To: Mounir Lamouri (:mounir)
Depends on: 345512
Blocks: 558593
  Show dependency treegraph
Reported: 2010-04-25 04:27 PDT by Mounir Lamouri (:mounir)
Modified: 2010-08-18 01:50 PDT (History)
5 users (show)
dao+bmo: in‑testsuite+
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Test v1 (2.20 KB, patch)
2010-07-26 07:49 PDT, Mounir Lamouri (:mounir) review+
Details | Diff | Splinter Review

Description User image Mounir Lamouri (:mounir) 2010-04-25 04:27:49 PDT
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.
Comment 1 User image Mounir Lamouri (:mounir) 2010-07-26 05:56:00 PDT
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.
Comment 2 User image Mounir Lamouri (:mounir) 2010-07-26 07:48:38 PDT
Let's have a test for this.
Comment 3 User image Mounir Lamouri (:mounir) 2010-07-26 07:49:46 PDT
Created attachment 460246 [details] [diff] [review]
Test v1

This test is quite simple but I think there is no test checking that the tooltip is correctly shown for input elements.
Comment 4 User image Mounir Lamouri (:mounir) 2010-08-17 15:42:57 PDT
Marking checkin-needed: a=test-only
Comment 5 User image Dão Gottwald [:dao] 2010-08-18 01:50:54 PDT

Note You need to log in before you can comment on or make changes to this bug.