mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1235062 - Set some highlighter CSS properties to initial values to avoid content CSS leaking; r=pbro
This commit is contained in:
parent
8674b1ac25
commit
a7c7bee82f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user