webengine/osswebengine/WebKit/s60/misc/WebUtil.cpp
branchRCL_3
changeset 67 4917f9bf7995
parent 27 60c5402cb945
child 71 4bd5176e1bc8
equal deleted inserted replaced
64:ac77f89b1d9e 67:4917f9bf7995
   117         elType = TBrCtlDefs::EElementInputBox;
   117         elType = TBrCtlDefs::EElementInputBox;
   118         if (ie->type() == "radio")
   118         if (ie->type() == "radio")
   119             elType = ((HTMLInputElement*)ie)->checked() ? TBrCtlDefs::EElementRadioButtonSelected : TBrCtlDefs::EElementRadioButtonUnSelected;
   119             elType = ((HTMLInputElement*)ie)->checked() ? TBrCtlDefs::EElementRadioButtonSelected : TBrCtlDefs::EElementRadioButtonUnSelected;
   120         else if (ie->type() == "checkbox")
   120         else if (ie->type() == "checkbox")
   121             elType = ((HTMLInputElement*)ie)->checked() ? TBrCtlDefs::EElementCheckBoxChecked : TBrCtlDefs::EElementCheckBoxUnChecked;
   121             elType = ((HTMLInputElement*)ie)->checked() ? TBrCtlDefs::EElementCheckBoxChecked : TBrCtlDefs::EElementCheckBoxUnChecked;
   122         else if (ie->type() == "button" || ie->type() == "reset" || ie->type() == "submit")
   122         else if (ie->hasLocalName( buttonTag )||ie->type() == "button" || ie->type() == "reset" || ie->type() == "submit")
   123             elType = TBrCtlDefs::EElementButton;
   123             elType = TBrCtlDefs::EElementButton;
   124         else if (ie->type() == "file") {
   124         else if (ie->type() == "file") {
   125             if (((HTMLInputElement*)ie)->value() == String())
   125             if (((HTMLInputElement*)ie)->value() == String())
   126                 elType = TBrCtlDefs::EElementFileSelectionBoxNoContent;
   126                 elType = TBrCtlDefs::EElementFileSelectionBoxNoContent;
   127             else
   127             else