mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 780857 - Enable the pref to use the experimental forms by default in b2g r=mounir
This commit is contained in:
parent
e006b07013
commit
fa05342698
@ -472,6 +472,9 @@ pref("dom.disable_window_print", true);
|
||||
// Disable window.showModalDialog
|
||||
pref("dom.disable_window_showModalDialog", true);
|
||||
|
||||
// Enable new experimental html forms
|
||||
pref("dom.experimental_forms", true);
|
||||
|
||||
// Turns on gralloc-based direct texturing for Gonk
|
||||
pref("gfx.gralloc.enabled", false);
|
||||
|
||||
|
@ -180,15 +180,15 @@ FormAssistant.init();
|
||||
function getJSON(element) {
|
||||
let type = element.type || "";
|
||||
|
||||
// FIXME/bug 344616 is input type="number"
|
||||
// Until then, let's return 'number' even if the platform returns 'text'
|
||||
// Until the input type=date/datetime/time have been implemented
|
||||
// let's return their real type even if the platform returns 'text'
|
||||
// Related to Bug 769352 - Implement <input type=date>
|
||||
// Related to Bug 777279 - Implement <input type=time>
|
||||
let attributeType = element.getAttribute("type") || "";
|
||||
|
||||
if (attributeType) {
|
||||
var typeLowerCase = attributeType.toLowerCase();
|
||||
switch (typeLowerCase) {
|
||||
case "number":
|
||||
case "date":
|
||||
case "time":
|
||||
case "datetime":
|
||||
|
Loading…
Reference in New Issue
Block a user