mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Support form submission of multipart/form-data
This commit is contained in:
parent
8db0367301
commit
cfde40e225
8 changed files with 135 additions and 17 deletions
|
@ -14,7 +14,7 @@ use dom::document::Document;
|
|||
use dom::element::{AttributeMutation, Element};
|
||||
use dom::htmlelement::HTMLElement;
|
||||
use dom::htmlfieldsetelement::HTMLFieldSetElement;
|
||||
use dom::htmlformelement::{FormControl, FormDatum, HTMLFormElement};
|
||||
use dom::htmlformelement::{FormDatumValue, FormControl, FormDatum, HTMLFormElement};
|
||||
use dom::htmloptionelement::HTMLOptionElement;
|
||||
use dom::node::{Node, UnbindContext, window_from_node};
|
||||
use dom::nodelist::NodeList;
|
||||
|
@ -94,7 +94,7 @@ impl HTMLSelectElement {
|
|||
data_set.push(FormDatum {
|
||||
ty: self.Type(),
|
||||
name: self.Name(),
|
||||
value: opt.Value()
|
||||
value: FormDatumValue::String(opt.Value())
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue