Bug 1498632 - Remove some other useless declarations in datetimebox.css. r=Gijs
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sun, 14 Oct 2018 19:54:28 +0000
changeset 441193 c98344b84b2004021a883f43a1adf66d203a128e
parent 441192 8ad79784d883bbb2457ab066f4775ccb11377655
child 441203 e55f454f1ab6e08c0464d65bd48a3a51bf16aab3
push id70958
push useremilio@crisal.io
push dateSun, 14 Oct 2018 21:21:25 +0000
treeherderautoland@c98344b84b20 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1498632
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1498632 - Remove some other useless declarations in datetimebox.css. r=Gijs * Remove unused xul namespace declaration. * color and font are inherited, so no need to declare anything. * Setting -moz-appearance: none on a div element is useless. Differential Revision: https://phabricator.services.mozilla.com/D8656
toolkit/content/widgets/datetimebox.css
--- a/toolkit/content/widgets/datetimebox.css
+++ b/toolkit/content/widgets/datetimebox.css
@@ -1,21 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @namespace url("http://www.w3.org/1999/xhtml");
-@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 .datetime-input-box-wrapper {
-  -moz-appearance: none;
   display: inline-flex;
   flex: 1;
   background-color: inherit;
-  color: inherit;
   min-width: 0;
   justify-content: space-between;
 }
 
 .datetime-input-edit-wrapper {
   overflow: hidden;
   white-space: nowrap;
 }
@@ -23,17 +20,16 @@
 .datetime-edit-field {
   display: inline;
   -moz-user-select: none;
   text-align: center;
   padding: 1px 3px;
   border: 0;
   margin: 0;
   ime-mode: disabled;
-  font: inherit;
   outline: none;
 }
 
 .datetime-edit-field:not([disabled="true"]):focus {
   background-color: Highlight;
   color: HighlightText;
   outline: none;
 }