From a7c7bee82f03f440ec557934bc8039a5c46f61c3 Mon Sep 17 00:00:00 2001 From: Sebastin Santy Date: Tue, 5 Jul 2016 02:16:00 +0200 Subject: [PATCH] Bug 1235062 - Set some highlighter CSS properties to initial values to avoid content CSS leaking; r=pbro --- devtools/server/actors/highlighters.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/devtools/server/actors/highlighters.css b/devtools/server/actors/highlighters.css index a4bdffca63b0..34e3c337369b 100644 --- a/devtools/server/actors/highlighters.css +++ b/devtools/server/actors/highlighters.css @@ -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;