Sun, 01 Aug 2010 16:19:46 +0300, /Stanimir Stamenkov/:
Is there a setting or a script API to switch the rendering of a
particular document using high contrast theme behavior, manually?
O.k. A preference setting would trigger it globally while a script API
(or style setting) could work on specific document. I'm interested in
all possible ways to control the behavior.
That is, to have no backgrounds and all colors (borders, text, etc.)
using the default text color, as if one has switched to using a high
contrast system theme.
Is the high contrast behavior achieved just by applying the following
style rules:
* {
background: none !important;
color: initial !important;
border-color: currentColor !important;
}
Obviously I would need more than the above:
:link {
color: -moz-HyperLinkText !important;
}
:visited {
color: -moz-VisitedHyperLinkText !important;
}
/* etc. */
Given I could not apply additional user styles without restart I'm
interested to know whether there are more convenient ways to get
the above (the Stylish extension doesn't appear sufficient as it
adds author styles which doesn't achieve the necessary cascading,
often).
--
Stanimir
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout