Bug 1463511: Remove impossible combinations from forms.css. r=heycam
authorEmilio Cobos Álvarez <emilio@crisal.io>
Tue, 22 May 2018 19:54:18 +0200
changeset 419684 4074e33bff660ef971ae8a442b752561fa0aaf9a
parent 419683 54c568a69c3fc24e8d19a0a8d4b3e3719423b3c7
child 419685 f6f9930363f2a2eb7b5e4e806892a0b176fe5be9
push id64381
push userecoal95@gmail.com
push dateThu, 24 May 2018 10:28:46 +0000
treeherderautoland@4074e33bff66 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1463511
milestone62.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 1463511: Remove impossible combinations from forms.css. r=heycam Those classes are only applied when !IsSingleLineTextControl(). No need for the rules. MozReview-Commit-ID: KOIWJVaw4pt
layout/style/res/forms.css
--- a/layout/style/res/forms.css
+++ b/layout/style/res/forms.css
@@ -170,22 +170,20 @@ textarea > .preview-div {
 }
 
 input > .anonymous-div,
 input::placeholder,
 input > .preview-div {
   white-space: pre;
 }
 
-textarea > .anonymous-div.inherit-overflow,
-input > .anonymous-div.inherit-overflow {
+textarea > .anonymous-div.inherit-overflow {
   overflow: inherit;
 }
-textarea > .anonymous-div.inherit-scroll-behavior,
-input > .anonymous-div.inherit-scroll-behavior {
+textarea > .anonymous-div.inherit-scroll-behavior {
   scroll-behavior: inherit;
   overscroll-behavior: inherit;
 }
 
 input::placeholder,
 textarea::placeholder,
 input > .preview-div,
 textarea > .preview-div {