Bug 1235062 - Set some highlighter CSS properties to initial values to avoid content CSS leaking; r=pbro

This commit is contained in:
Sebastin Santy 2016-07-05 02:16:00 +02:00
parent 8674b1ac25
commit a7c7bee82f

View File

@ -13,6 +13,17 @@
element.
*/
:-moz-native-anonymous {
/*
Content CSS applying to the html element impact the highlighters.
To avoid that, possible cases have been set to initial.
*/
text-transform: initial;
text-indent: initial;
letter-spacing: initial;
word-spacing: initial;
}
:-moz-native-anonymous .highlighter-container {
--highlighter-guide-color: #08c;
--highlighter-content-color: #87ceeb;