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:
MrOtherGuy
2025-09-18 17:06:31 +03:00
parent 41e003708f
commit 9e39c99f50
16 changed files with 26 additions and 26 deletions

View File

@@ -57,7 +57,7 @@ See the above repository for updates as well as full license text. */
right: 0;
}
}
:root:not([customizing]) #toolbar-menubar[autohide="false"] + #TabsToolbar #tabbrowser-tabs{
:root:not([customizing]) #toolbar-menubar:is([autohide="false"],not([autohide])) + #TabsToolbar #tabbrowser-tabs{
height: calc(100vh - 28px); /* 28px is however tall your menubar is */
}
:root:not([customizing]) #TabsToolbar #new-tab-button,