Closed Bug 597792 Opened 14 years ago Closed 14 years ago

Use the placeholder attribute of <input> instead of hacks to set a default name for tab groups

Categories

(Firefox Graveyard :: Panorama, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 619440
Future

People

(Reporter: fryn, Unassigned)

References

Details

Hacks are suboptimal. HTML5 is better. We should be using something like <input placeholder="&tabview.groupItem.defaultName;" /> to set the default name of tab groups. See instances of defaultName in http://mxr.mozilla.org/mozilla-central/source/browser/base/content/tabview/groupitems.js
Assignee: nobody → seanedunn
Priority: -- → P4
Frank, do you want to take care of this?
Assignee: seanedunn → nobody
Target Milestone: --- → Future
(In reply to comment #1) > Frank, do you want to take care of this? The fix for bug 589132 would make this moot, since the placeholder string is now stored in a DIV label. The INPUT is only shown when it's focused.
Depends on: 589132
(In reply to comment #2) > The fix for bug 589132 would make this moot, since the placeholder string is > now stored in a DIV label. The INPUT is only shown when it's focused. Why do we need the DIV label in the first place?
So this sounds like a invalid!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Oh, I see. Using a DIV like that to crop the title seems rather hacky, imho. Unfortunately, we don't support CSS text-overflow: ellipsis. I wonder if <input> can use text-overflow. I don't feel that strongly about this, so I'm okay with the INVALID resolution.
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Resolution: INVALID → ---
marking invalid per latest comments.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → INVALID
Resolution: INVALID → DUPLICATE
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.