Support [autohide] as boolean attribute
Firefox 143 uses authide as boolean attribute, so we need to support both versions, thus selectors looking mildly horrifying
This commit is contained in:
@@ -59,7 +59,7 @@ See the above repository for updates as well as full license text. */
|
||||
:root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
|
||||
display: flex !important;
|
||||
}
|
||||
:root:is([tabsintitlebar],[customtitlebar]) :where(#toolbar-menubar:not([autohide="false"])){
|
||||
:root:is([tabsintitlebar],[customtitlebar]) :where(#toolbar-menubar:is([autohide=""],not([autohide="false"]))){
|
||||
+ #TabsToolbar{
|
||||
:root[sizemode="normal"] & {
|
||||
> .titlebar-spacer[type="post-tabs"]{
|
||||
@@ -79,7 +79,7 @@ See the above repository for updates as well as full license text. */
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
|
||||
display: flex !important;
|
||||
}
|
||||
:root:is([tabsintitlebar],[customtitlebar]) :where(#toolbar-menubar:not([autohide="false"])){
|
||||
:root:is([tabsintitlebar],[customtitlebar]) :where(#toolbar-menubar:is([autohide=""],not([autohide="false"]))){
|
||||
+ #TabsToolbar > :is(.titlebar-buttonbox-container,.titlebar-spacer[type="post-tabs"]){
|
||||
display: flex !important;
|
||||
}
|
||||
@@ -100,7 +100,7 @@ See the above repository for updates as well as full license text. */
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
|
||||
display: flex !important;
|
||||
}
|
||||
:root:is([tabsintitlebar],[customtitlebar]) :where(#toolbar-menubar:not([autohide="false"])){
|
||||
:root:is([tabsintitlebar],[customtitlebar]) :where(#toolbar-menubar:is([autohide=""],not([autohide="false"]))){
|
||||
+ #TabsToolbar > :is(.titlebar-buttonbox-container,.titlebar-spacer[type="pre-tabs"]){
|
||||
display: flex !important;
|
||||
}
|
||||
@@ -118,7 +118,7 @@ See the above repository for updates as well as full license text. */
|
||||
:root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
|
||||
display: flex !important;
|
||||
}
|
||||
:root:is([tabsintitlebar],[customtitlebar]) :where(#toolbar-menubar:not([autohide="false"])){
|
||||
:root:is([tabsintitlebar],[customtitlebar]) :where(#toolbar-menubar:is([autohide=""],not([autohide="false"]))){
|
||||
:root[sizemode="normal"] & {
|
||||
+ #TabsToolbar > .titlebar-spacer[type="pre-tabs"]{
|
||||
display: flex !important;
|
||||
|
||||
Reference in New Issue
Block a user