equal
deleted
inserted
replaced
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 |