Bug 1480073 pt 2. Enable the '-webkit-appearance' alias for '-moz-appearance' for EARLY_BETA_OR_EARLIER. r=emilio

This commit is contained in:
Jonathan Watt 2018-08-01 12:01:33 +01:00
Родитель a397b42eb6
Коммит d1601e1442
2 изменённых файлов: 147 добавлений и 1 удалений

Просмотреть файл

@ -1632,6 +1632,146 @@ exports.CSS_PROPERTIES = {
"unset" "unset"
] ]
}, },
"-webkit-appearance": {
"isInherited": false,
"subproperties": [
"-moz-appearance"
],
"supports": [],
"values": [
"-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-mac-vibrant-titlebar-dark",
"-moz-mac-vibrant-titlebar-light",
"-moz-menulist-button",
"-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",
"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",
"inherit",
"initial",
"inner-spin-button",
"listbox",
"listitem",
"menuarrow",
"menubar",
"menucheckbox",
"menuimage",
"menuitem",
"menuitemtext",
"menulist",
"menulist-button",
"menulist-text",
"menulist-textfield",
"menupopup",
"menuradio",
"menuseparator",
"meterbar",
"meterchunk",
"none",
"number-input",
"progressbar",
"progressbar-vertical",
"progresschunk",
"progresschunk-vertical",
"radio",
"radio-container",
"radio-label",
"radiomenuitem",
"range",
"range-thumb",
"resizer",
"resizerpanel",
"scale-horizontal",
"scale-vertical",
"scalethumb-horizontal",
"scalethumb-vertical",
"scalethumbend",
"scalethumbstart",
"scalethumbtick",
"scrollbar",
"scrollbar-horizontal",
"scrollbar-small",
"scrollbar-vertical",
"scrollbarbutton-down",
"scrollbarbutton-left",
"scrollbarbutton-right",
"scrollbarbutton-up",
"scrollbarthumb-horizontal",
"scrollbarthumb-vertical",
"scrollbartrack-horizontal",
"scrollbartrack-vertical",
"scrollcorner",
"searchfield",
"separator",
"spinner",
"spinner-downbutton",
"spinner-textfield",
"spinner-upbutton",
"splitter",
"statusbar",
"statusbarpanel",
"tab",
"tab-scroll-arrow-back",
"tab-scroll-arrow-forward",
"tabpanel",
"tabpanels",
"textfield",
"textfield-multiline",
"toolbar",
"toolbarbutton",
"toolbarbutton-dropdown",
"toolbargripper",
"toolbox",
"tooltip",
"treeheader",
"treeheadercell",
"treeheadersortarrow",
"treeitem",
"treeline",
"treetwisty",
"treetwistyopen",
"treeview",
"unset",
"window"
]
},
"-webkit-backface-visibility": { "-webkit-backface-visibility": {
"isInherited": false, "isInherited": false,
"subproperties": [ "subproperties": [

Просмотреть файл

@ -339,11 +339,17 @@ VARCACHE_PREF(
) )
// Is the '-webkit-appearance' alias for '-moz-appearance' enabled? // Is the '-webkit-appearance' alias for '-moz-appearance' enabled?
#ifdef EARLY_BETA_OR_EARLIER
#define PREF_VALUE true
#else
#define PREF_VALUE false
#endif
VARCACHE_PREF( VARCACHE_PREF(
"layout.css.webkit-appearance.enabled", "layout.css.webkit-appearance.enabled",
layout_css_webkit_appearance_enabled, layout_css_webkit_appearance_enabled,
bool, false bool, PREF_VALUE
) )
#undef PREF_VALUE
// Pref to control whether @-moz-document rules are enabled in content pages. // Pref to control whether @-moz-document rules are enabled in content pages.
VARCACHE_PREF( VARCACHE_PREF(