Bug 946398 - Flip the pref to enable <input type=number>. r=smaug
authorJonathan Watt <jwatt@jwatt.org>
Sun, 08 Dec 2013 23:26:16 +0000
changeset 159424 379cddab8d6a3d5b34839d7ace3a2c5d7a5f8255
parent 159423 1682d636c3c566f89bc3eed963e9c7b4f037edc9
child 159425 06b3a7aea2c0349d4361a1499a25a7fd9f476400
push id25792
push userjwatt@jwatt.org
push dateSun, 08 Dec 2013 23:28:06 +0000
treeherdermozilla-central@379cddab8d6a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs946398
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 946398 - Flip the pref to enable <input type=number>. r=smaug
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -863,17 +863,19 @@ pref("dom.send_after_paint_to_content", 
 
 // Timeout clamp in ms for timeouts we clamp
 pref("dom.min_timeout_value", 4);
 // And for background windows
 pref("dom.min_background_timeout_value", 1000);
 
 // Don't use new input types
 pref("dom.experimental_forms", false);
-pref("dom.forms.number", false);
+
+// Enable <input type=number>:
+pref("dom.forms.number", true);
 
 // Enable <input type=color> by default. It will be turned off for remaining
 // platforms which don't have a color picker implemented yet.
 pref("dom.forms.color", true);
 
 // Enables system messages and activities
 pref("dom.sysmsg.enabled", false);