From a702aa90f1009038a5d31ba0f01c94594d0f5cf8 Mon Sep 17 00:00:00 2001 From: Brian Grinstead Date: Fri, 7 Jun 2019 13:49:19 +0000 Subject: [PATCH] Bug 1556539 - Move rules unneeded in content from minimal-xul.css to xul.css r=NeilDeakin Differential Revision: https://phabricator.services.mozilla.com/D33550 --HG-- extra : moz-landing-system : lando --- toolkit/content/minimal-xul.css | 9 --------- toolkit/content/xul.css | 6 ++++++ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/toolkit/content/minimal-xul.css b/toolkit/content/minimal-xul.css index eed69ec6043b..9e1d3d9f29d2 100644 --- a/toolkit/content/minimal-xul.css +++ b/toolkit/content/minimal-xul.css @@ -27,15 +27,6 @@ box-sizing: border-box; } -:root { - text-rendering: optimizeLegibility; - -moz-control-character-visibility: visible; -} - -:root:-moz-locale-dir(rtl) { - direction: rtl; -} - /* hide the content and destroy the frame */ [hidden="true"] { display: none; diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css index 3514957e12e3..952bd23f75d0 100644 --- a/toolkit/content/xul.css +++ b/toolkit/content/xul.css @@ -26,9 +26,15 @@ @namespace xbl url("http://www.mozilla.org/xbl"); /* namespace for XBL elements */ :root { + text-rendering: optimizeLegibility; + -moz-control-character-visibility: visible; --animation-easing-function: cubic-bezier(.07, .95, 0, 1); } +:root:-moz-locale-dir(rtl) { + direction: rtl; +} + /* :::::::::: :: Rules for 'hiding' portions of the chrome for special :: kinds of windows (not JUST browser windows) with toolbars