Fix unreferenced CSS variables (PR 17533 follow-up)

The latest mozilla-central update has test failures, because some CSS variables are not "properly" referenced; in particular:
 - Give `--hcm-highlight-selected-filter` a default value, of `none`, similar to the previously existing HCM filter.
 - Remove the `--mix-blend-mode` variable, since it's unused.
This commit is contained in:
Jonas Jenwald 2024-01-25 09:13:40 +01:00
parent a5d4660a75
commit 1cbcb89dac
2 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,8 @@
padding-bottom: var(--pdfViewer-padding-bottom); padding-bottom: var(--pdfViewer-padding-bottom);
--hcm-highlight-filter: none; --hcm-highlight-filter: none;
--hcm-highlight-selected-filter: none;
@media screen and (forced-colors: active) { @media screen and (forced-colors: active) {
--hcm-highlight-filter: invert(100%); --hcm-highlight-filter: invert(100%);
} }

View File

@ -52,7 +52,6 @@
--highlight-selected-bg-color: rgb(0 100 0 / 0.25); --highlight-selected-bg-color: rgb(0 100 0 / 0.25);
--highlight-backdrop-filter: none; --highlight-backdrop-filter: none;
--highlight-selected-backdrop-filter: none; --highlight-selected-backdrop-filter: none;
--mix-blend-mode: exclusion;
@media screen and (forced-colors: active) { @media screen and (forced-colors: active) {
--highlight-bg-color: transparent; --highlight-bg-color: transparent;