Closed
Bug 619440
Opened 15 years ago
Closed 15 years ago
Group item title field should use HTML5 placeholder
Categories
(Firefox Graveyard :: Panorama, enhancement, P4)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 4.0b10
People
(Reporter: mitcho, Assigned: mitcho)
References
Details
Attachments
(2 files, 3 obsolete files)
|
32.85 KB,
video/ogg
|
aza
:
ui-review+
|
Details |
|
8.48 KB,
patch
|
Details | Diff | Splinter Review |
Right now we have some special case code in order to display the "Name this tab group..." text and icon on unnamed groups. I believe all of this JS is unnecessary and it would all be cleaner if we used a placeholder attribute on the title input field and then styled it with :-moz-placeholder .
This most likely would require a litmus test as I'm not sure how an automated test for this would be written.
| Assignee | ||
Comment 1•15 years ago
|
||
Looks like this means we would have to get rid of the behavior whereby the pencil icon stays when you enter a name for the first time, and gracefully disappears later... but I think making this all CSS is enough benefit. Aza, thoughts?
| Assignee | ||
Comment 2•15 years ago
|
||
Quick first patch... note all the JS we can get rid of!
Note: this patch only includes necessary CSS changes for Mac, not yet other themes.
Attachment #497870 -
Flags: feedback?(ian)
Comment 3•15 years ago
|
||
Comment on attachment 497870 [details] [diff] [review]
Patch v1
Looks great!
Attachment #497870 -
Flags: feedback?(ian) → feedback+
Comment 4•15 years ago
|
||
Comment on attachment 497870 [details] [diff] [review]
Patch v1
>- -moz-margin-begin: 3px;
>+ -moz-margin-start: 3px;
Thanks for catching this, by the way! While you're in here, please fix the other one (title-shield)... for some reason it's only in the Mac theme.
Updated•15 years ago
|
Attachment #497869 -
Attachment is patch: false
Attachment #497869 -
Attachment mime type: text/plain → video/ogg
| Assignee | ||
Comment 5•15 years ago
|
||
- Applied the same treatment to winstripe and gnomestripe.
- Took care of that one last -moz-margin-begin
Attachment #497870 -
Attachment is obsolete: true
| Assignee | ||
Updated•15 years ago
|
Attachment #499533 -
Flags: review?(ian)
Updated•15 years ago
|
Attachment #497869 -
Flags: ui-review?(aza) → ui-review+
Comment 6•15 years ago
|
||
Comment on attachment 499533 [details] [diff] [review]
Patch v1.1
Lovely
Attachment #499533 -
Flags: review?(ian) → review+
Comment 7•15 years ago
|
||
Comment on attachment 499533 [details] [diff] [review]
Patch v1.1
>-.title-container:hover input.name {
>+.title-container:hover input.name, .title-container input.name:focus {
Break the line after the comma.
| Assignee | ||
Comment 8•15 years ago
|
||
Thanks Dāo. Fixed.
Attachment #499533 -
Attachment is obsolete: true
Attachment #501073 -
Flags: approval2.0?
| Assignee | ||
Comment 9•15 years ago
|
||
Pushed patch v1.2 to try today. Passed.
Comment 10•15 years ago
|
||
Comment on attachment 501073 [details] [diff] [review]
Patch v1.2
a=beltzner
Attachment #501073 -
Flags: approval2.0? → approval2.0+
| Assignee | ||
Comment 11•15 years ago
|
||
Pushed to try as well, just to be safe.
Attachment #501073 -
Attachment is obsolete: true
| Assignee | ||
Comment 12•15 years ago
|
||
Passed try.
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 13•15 years ago
|
||
Updated•15 years ago
|
Target Milestone: --- → Firefox 4.0b10
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•