Bug 1430141 - Remove useless declaration in forms.css. r=jfkthame
☠☠ backed out by a7f7ebe49bc0 ☠ ☠
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 15 Jan 2020 10:22:53 +0000
changeset 510343 56421ee8781160ae08caaaafc2f39c1c0e3b4878
parent 510342 996f7985ca6b46feaf6fdf1a5fe9e84437c0e376
child 510344 850151a68fbe0e5ceeb5135c10367e01f9813d13
push id37020
push userccoroiu@mozilla.com
push dateWed, 15 Jan 2020 21:36:21 +0000
treeherdermozilla-central@c35bb210b8ae [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjfkthame
bugs1430141
milestone74.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 1430141 - Remove useless declaration in forms.css. r=jfkthame It is a <div>, it is display: block by default already. Depends on D59981 Differential Revision: https://phabricator.services.mozilla.com/D59982
layout/style/res/forms.css
--- a/layout/style/res/forms.css
+++ b/layout/style/res/forms.css
@@ -985,19 +985,16 @@ input[type=number]::-moz-number-wrapper 
   /* Prevent styling that would change the type of frame we construct. */
   display: flex;
   float: none !important;
   position: static !important;
   block-size: 100%;
 }
 
 input[type=number] .anonymous-div {
-  display: block; /* Flex items must be block-level. Normally we do fixup in
-                     the style system to ensure this, but that fixup is disabled
-                     inside of form controls. So, we hardcode display here. */
   flex: 1;
   min-inline-size: 0;
 }
 
 input[type=number]::-moz-number-spin-box {
   writing-mode: horizontal-tb;
   display: flex;
   flex-direction: column;