зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1166347 - Enabling pointer events in Nighly builds. r=mbrubeck. r=smaug
This commit is contained in:
Родитель
d2fd9f7821
Коммит
52e9bbc341
|
@ -4415,15 +4415,24 @@ pref("dom.mozPermissionSettings.enabled", false);
|
|||
pref("dom.w3c_touch_events.enabled", 2);
|
||||
#endif
|
||||
|
||||
#ifdef NIGHTLY_BUILD
|
||||
#if defined(XP_WIN) || defined(XP_LINUX) || defined(XP_MACOSX)
|
||||
// W3C draft pointer events
|
||||
pref("dom.w3c_pointer_events.enabled", true);
|
||||
// W3C touch-action css property (related to touch and pointer events)
|
||||
pref("layout.css.touch_action.enabled", true);
|
||||
#else
|
||||
pref("dom.w3c_pointer_events.enabled", false);
|
||||
pref("layout.css.touch_action.enabled", false);
|
||||
#endif
|
||||
#else
|
||||
pref("dom.w3c_pointer_events.enabled", false);
|
||||
pref("layout.css.touch_action.enabled", false);
|
||||
#endif
|
||||
|
||||
// W3C draft ImageCapture API
|
||||
pref("dom.imagecapture.enabled", false);
|
||||
|
||||
// W3C touch-action css property (related to touch and pointer events)
|
||||
pref("layout.css.touch_action.enabled", false);
|
||||
|
||||
// Enables some assertions in nsStyleContext that are too expensive
|
||||
// for general use, but might be useful to enable for specific tests.
|
||||
// This only has an effect in DEBUG-builds.
|
||||
|
|
Загрузка…
Ссылка в новой задаче