servo: Merge #11222 - Add -moz-user-* CSS longhands for Gecko (from KiChjang:stylo-keywords); r=bholley

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` does not report any errors
- [x] These changes do not require tests because stylo

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: e0addae51c6ecacd474e501da06f647ca9d96dc0
This commit is contained in:
Keith Yeung 2016-05-17 14:57:32 -07:00
Родитель 89660bce3f
Коммит 4df4e0e73e
2 изменённых файлов: 15 добавлений и 0 удалений

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

@ -54,3 +54,15 @@
// is nonstandard, slated for CSS4-UI. // is nonstandard, slated for CSS4-UI.
// TODO(pcwalton): SVG-only values. // TODO(pcwalton): SVG-only values.
${helpers.single_keyword("pointer-events", "auto none")} ${helpers.single_keyword("pointer-events", "auto none")}
${helpers.single_keyword("-moz-user-input", "none enabled disabled", products="gecko",
gecko_ffi_name="mUserInput", gecko_constant_prefix="NS_STYLE_USER_INPUT")}
${helpers.single_keyword("-moz-user-modify", "read-only read-write write-only", products="gecko",
gecko_ffi_name="mUserModify", gecko_constant_prefix="NS_STYLE_USER_MODIFY")}
${helpers.single_keyword("-moz-user-focus",
"ignore normal select-after select-before select-menu select-same select-all none",
products="gecko",
gecko_ffi_name="mUserFocus",
gecko_constant_prefix="NS_STYLE_USER_FOCUS")}

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

@ -11,3 +11,6 @@
${helpers.single_keyword("ime-mode", "normal auto active disabled inactive", products="gecko", ${helpers.single_keyword("ime-mode", "normal auto active disabled inactive", products="gecko",
gecko_ffi_name="mIMEMode")} gecko_ffi_name="mIMEMode")}
${helpers.single_keyword("-moz-user-select", "auto text none all", products="gecko",
gecko_ffi_name="mUserSelect", gecko_constant_prefix="NS_STYLE_USER_SELECT")}