Closed
Bug 579762
Opened 16 years ago
Closed 16 years ago
Mark first real tab similar to first-tab
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
INVALID
People
(Reporter: micmon, Unassigned)
Details
The first tab is always marked first-tab="true". If the first tap is an app tab, it will get "first-tab". However, there does not seem to be a way to easily match the first *real* tab. IMHO it should have a marker, too (or first-tab should mark the first real tab and a new marker should mark the first and last app-tabs)
Updated•16 years ago
|
Hardware: x86 → All
Comment 1•16 years ago
|
||
.tabbrowser-tab[pinned] + .tabbrowser-tab:not([pinned])
| Reporter | ||
Comment 2•16 years ago
|
||
I know there is "pinned", but how would this allow me to get the first tab that is not pinned AND a real tab?
.tabbrowser-tab[first-tab] always is a pinned tab (if there are any pinned tabs)
Comment 3•16 years ago
|
||
This way:
.tabbrowser-tab[pinned] + .tabbrowser-tab:not([pinned])
Of course this won't match anything if there's no pinned tab. For that it needs to be extended like this:
.tabbrowser-tab:not([pinned]):first-child,
.tabbrowser-tab[pinned] + .tabbrowser-tab:not([pinned])
| Reporter | ||
Comment 4•16 years ago
|
||
Ah, sure... thanks :)
Feel free to close the bug, this will certainly WORKFORME.
Status: NEW → UNCONFIRMED
Ever confirmed: false
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•