piroor / informationaltab

Informational Tab, Provides thumbnail, progress meter, or others to each tab.
http://piro.sakura.ne.jp/xul/informationaltab/
4 stars 5 forks source link

Tab focus bug #1

Closed Infocatcher closed 12 years ago

Infocatcher commented 13 years ago

Following userChrome.css code works in Firefox 3.6.x with Informational Tab 0.3.2010062901 and doesn't work with new Informational Tab 0.3.2011020301:

.tabbrowser-tab[selected="true"] {
  -moz-user-focus: normal !important;
}

(It's makes tabs focusable.)

This is not a real bug, but I can't correct the CSS and this is very useful with Tree Style Tab for moving tabs with Ctrl+Left/Right. :) And new Tree Style Tab uses the same tabFx2Compatible.* hack and has similar issue.

P.S. CSS for Firefox 4 still works, but has small UI issues:

.tabbrowser-tab[selected="true"] {
  -moz-user-focus: normal !important;
}

/* Fix focusring appearance */
.tabbrowser-tab[selected="true"] * {
  outline: none !important;
  border: none !important;
}
.tabbrowser-tab[selected="true"]:focus > * {
  outline: 1px dotted !important;
}
piroor commented 13 years ago

I added some CSS rules for focusring of tabs. https://github.com/piroor/informationaltab/commit/2fa4f851906800ef50f62aba81126659122f3d7c

Infocatcher commented 12 years ago

Oh, I forgot about this thread. Issue can be closed, thanks.