tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit ac6db2675ca168477e778142ff611977baaa4e0b
parent 38bbd8dd7935793d3229931b96d32e40a784d992
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date:   Wed,  7 Jan 2026 07:28:33 +0000

Bug 2008883 - Fix some attribute selectors after bug 2008041.

I remember changing menu.css, maybe I missed them during a rebase /
laptop switch or something.

Differential Revision: https://phabricator.services.mozilla.com/D278081

Diffstat:
Mbrowser/themes/shared/pageInfo.css | 6+++---
Mbrowser/themes/shared/preferences/containers-dialog.css | 4++--
Mtoolkit/content/xul.css | 2+-
Mtoolkit/themes/shared/menu.css | 6+++---
4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/browser/themes/shared/pageInfo.css b/browser/themes/shared/pageInfo.css @@ -85,7 +85,7 @@ color: FieldText; } - #viewGroup > radio[selected="true"] { + #viewGroup > radio[selected] { background-color: SelectedItem; color: SelectedItemText; } @@ -101,12 +101,12 @@ color: black; } - #viewGroup > radio[selected="true"] { + #viewGroup > radio[selected] { background-color: #c1d2ee; color: black; } - #viewGroup > radio:is(:hover, [selected="true"]) .radio-icon { + #viewGroup > radio:is(:hover, [selected]) .radio-icon { background-position-y: -32px; } } diff --git a/browser/themes/shared/preferences/containers-dialog.css b/browser/themes/shared/preferences/containers-dialog.css @@ -37,11 +37,11 @@ radio > .userContext-icon { block-size: 22px; } -.radio-buttons > radio[selected="true"] { +.radio-buttons > radio[selected] { outline-color: var(--text-color); } -.radio-buttons > radio[focused="true"] { +.radio-buttons > radio[focused] { outline-color: var(--border-color-selected); } diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css @@ -99,7 +99,7 @@ browser, editor, iframe, label:is(.text-link, [onclick]), -tab[selected="true"]:not([ignorefocus="true"]) { +tab[selected]:not([ignorefocus]) { -moz-user-focus: normal; } diff --git a/toolkit/themes/shared/menu.css b/toolkit/themes/shared/menu.css @@ -362,7 +362,7 @@ menuitem[highlightable] > .menu-text { /* On linux, we use regular checkboxes and radio buttons */ @media (-moz-platform: linux) { - menuitem:is([type="checkbox"], [checked="true"]) > .menu-icon { + menuitem:is([type="checkbox"], [checked]) > .menu-icon { visibility: inherit; appearance: auto; -moz-default-appearance: checkbox; @@ -381,7 +381,7 @@ menuitem[highlightable] > .menu-text { checkboxes and radio buttons because the native drawing we use on other Windows versions looks pretty bad with the Win10 styles, so for now we'll insert a generic checkmark icon for both types. */ - menuitem[checked="true"] > .menu-icon { + menuitem[checked] > .menu-icon { visibility: inherit; -moz-context-properties: fill, fill-opacity; fill: currentColor; @@ -416,7 +416,7 @@ menupopup[needsgutter] { } } - > menuitem:is([checked="true"], [selected="true"])::before { + > menuitem:is([checked], [selected])::before { visibility: inherit; } }