Sun, 01 Aug 2010 17:06:04 -0500, /Boris Zbarsky/:
On 8/1/10 9:19 AM, Stanimir Stamenkov wrote:

Is there a setting or a script API to switch the rendering of a
particular document using high contrast theme behavior, manually?

There is not, but it could be added. You just want a per-document
version of the "browser.display.use_document_colors" preference, right?

You're right - I've completely forgot about that preference. And yes, if it could be triggered per-document basis, it would be really nice - something like "lite version" of View -> Page Style -> No Style.

* {
  background: none !important;
  color: initial !important;
  border-color: currentColor !important;
}

This makes a lot of pages unreadable due to text appearing on top of
other text because opaque backgrounds are suddenly transparent. It also
messes up form control styling, link styling, etc.

Getting the "right" behavior is actually a bit of a pain.

I've hit the same problem trying develop the styles further. I don't think there's a way in CSS to say "apply certain background only if the element has already some background applied".

--
Stanimir
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to