Use [checked="true"] in menuitem selectors

This was only using [checked] to check if the item is checked, but the
attribute can also be "false".
This commit is contained in:
MrOtherGuy 2022-08-07 18:11:10 +03:00
parent 6c7abad64e
commit a9e58dcf21

View file

@ -26,10 +26,10 @@ menuitem:is([type="checkbox"],[type="radio"]) > .menu-iconic-left{
menuitem[type="radio"] > .menu-iconic-left{
border-radius: 100%;
}
menuitem[type="radio"][checked] > .menu-iconic-left{
menuitem[type="radio"][checked="true"] > .menu-iconic-left{
background-image: radial-gradient( AccentColor 40%, transparent 50%);
list-style-image: none !important;
}
menuitem[type="checkbox"][checked] > .menu-iconic-left{
menuitem[type="checkbox"][checked="true"] > .menu-iconic-left{
background-image: url("chrome://global/skin/icons/check.svg");
}