Closed Bug 579762 Opened 16 years ago Closed 16 years ago

Mark first real tab similar to first-tab

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

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)
Hardware: x86 → All
.tabbrowser-tab[pinned] + .tabbrowser-tab:not([pinned])
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)
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])
Ah, sure... thanks :) Feel free to close the bug, this will certainly WORKFORME.
Status: NEW → UNCONFIRMED
Ever confirmed: false
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.