Bug 1361632 - Support all properties for -moz-appearance. r?TYLin draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Wed, 03 May 2017 19:22:33 +0900
changeset 571854 40fb573f521ad4ed006c03e3bb2a39bfaa619ab5
parent 571808 82c2d17e74ef9cdf38a5d5ac4eb3ae846ec30ba4
child 571855 a3938de84bf3643c425d735fde68c421ff0a53dc
push id56926
push userhikezoe@mozilla.com
push dateWed, 03 May 2017 10:22:59 +0000
reviewersTYLin
bugs1361632
milestone55.0a1
Bug 1361632 - Support all properties for -moz-appearance. r?TYLin Now all properties in nsCSSProps::kMozAppearanceKTable are in keyword list of -moz-appearance. MozReview-Commit-ID: 6Ahba2kvZ7j
servo/components/style/properties/longhand/box.mako.rs
--- a/servo/components/style/properties/longhand/box.mako.rs
+++ b/servo/components/style/properties/longhand/box.mako.rs
@@ -2399,30 +2399,38 @@
                          spec="https://drafts.csswg.org/css-ui-4/#appearance-switching",
                          alias="-webkit-appearance",
                          animation_value_type="none")}
 
 // Non-standard
 ${helpers.single_keyword("-moz-appearance",
                          """none button button-arrow-down button-arrow-next button-arrow-previous button-arrow-up
                             button-bevel button-focus caret checkbox checkbox-container checkbox-label checkmenuitem
+                            dialog
                             dualbutton groupbox listbox listitem menuarrow menubar menucheckbox menuimage menuitem
                             menuitemtext menulist menulist-button menulist-text menulist-textfield menupopup menuradio
                             menuseparator meterbar meterchunk number-input progressbar progressbar-vertical
                             progresschunk
                             progresschunk-vertical radio radio-container radio-label radiomenuitem range range-thumb
                             resizer resizerpanel scale-horizontal scalethumbend scalethumb-horizontal scalethumbstart
-                            scalethumbtick scalethumb-vertical scale-vertical scrollbarbutton-down scrollbarbutton-left
-                            scrollbarbutton-right scrollbarbutton-up scrollbarthumb-horizontal scrollbarthumb-vertical
+                            scalethumbtick scalethumb-vertical scale-vertical
+                            scrollbar scrollbar-horizontal scrollbar-small scrollbar-vertical
+                            scrollbarbutton-down scrollbarbutton-left scrollbarbutton-right scrollbarbutton-up
+                            scrollbarthumb-horizontal scrollbarthumb-vertical
                             scrollbartrack-horizontal scrollbartrack-vertical searchfield separator spinner
                             spinner-downbutton spinner-textfield spinner-upbutton splitter statusbar statusbarpanel tab
                             tabpanel tabpanels tab-scroll-arrow-back tab-scroll-arrow-forward textfield
                             textfield-multiline toolbar toolbarbutton toolbarbutton-dropdown toolbargripper toolbox
                             tooltip treeheader treeheadercell treeheadersortarrow treeitem treeline treetwisty
-                            treetwistyopen treeview -moz-win-borderless-glass -moz-win-browsertabbar-toolbox
+                            treetwistyopen treeview window
+                            -moz-gtk-info-bar
+                            -moz-mac-active-source-list-selection -moz-mac-disclosure-button-closed
+                            -moz-mac-disclosure-button-open -moz-mac-fullscreen-button -moz-mac-help-button
+                            -moz-mac-source-list -moz-mac-source-list-selection -moz-mac-vibrancy-dark
+                            -moz-mac-vibrancy-light -moz-win-borderless-glass -moz-win-browsertabbar-toolbox
                             -moz-win-communications-toolbox -moz-win-exclude-glass -moz-win-glass -moz-win-media-toolbox
                             -moz-window-button-box -moz-window-button-box-maximized -moz-window-button-close
                             -moz-window-button-maximize -moz-window-button-minimize -moz-window-button-restore
                             -moz-window-frame-bottom -moz-window-frame-left -moz-window-frame-right -moz-window-titlebar
                             -moz-window-titlebar-maximized
                          """,
                          gecko_ffi_name="mMozAppearance",
                          gecko_constant_prefix="NS_THEME",