Bug 1428960 - Use universal selector for -moz-dropdown-list draft
authorKuoE0 <kuoe0.tw@gmail.com>
Tue, 09 Jan 2018 11:48:29 +0800
changeset 717495 ac0414f09056f32789dfe51143d61196f7029ed1
parent 717471 ecd0f9dd4923c6d456a13ecac746a58808324af9
child 717552 ad77a25990d2034969d3333871a8642a6969d6f8
child 718322 60abfd2a83dd3234abad2bde34f8d130d8597398
child 718331 dacbb4681b77732e1725e2def775632273eb9f20
child 718334 fbcca61a58385805871a076cf5a473f1344d45ec
child 718418 56d8aba4fd0e3611e79567488de43160d70244e7
push id94701
push userbmo:kuoe0@mozilla.com
push dateTue, 09 Jan 2018 03:49:30 +0000
bugs1428960
milestone59.0a1
Bug 1428960 - Use universal selector for -moz-dropdown-list -moz-dropdown-list is only allowed to use universal selector, so change it back to universal selector. MozReview-Commit-ID: 5E9Z98xIadh
layout/style/res/forms.css
--- a/layout/style/res/forms.css
+++ b/layout/style/res/forms.css
@@ -418,17 +418,17 @@ optgroup:before {
    * border+padding of a combobox so that our scrollbar will line up
    * with the dropmarker.  So set our inline-start border to 2px.
    */
   border: 1px outset black !important;
   border-inline-start-width: 2px ! important;
 }
 
 @supports -moz-bool-pref("dom.select_popup_in_content.enabled") {
-  select::-moz-dropdown-list {
+  *|*::-moz-dropdown-list {
     -moz-top-layer: top !important;
     position: absolute !important;
   }
 }
 
 input:disabled,
 textarea:disabled,
 option:disabled,