mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Implement file-type functionalities in htmlinputelement and related
Changes include: - Implement file selection and other DOM behaviours in htmlinputelement - Integrate IpcSender<FileManagerThreadMsg> into ResourceThreads - Improve filemanager_thread, including adding type_string field to SelectedFile - Improve interfaces in FileList/File/Blob to accommodate the above changes
This commit is contained in:
parent
983612751b
commit
dd590d088b
10 changed files with 155 additions and 30 deletions
|
@ -615,7 +615,7 @@ impl HTMLFormElement {
|
|||
// Step 4
|
||||
for datum in &mut ret {
|
||||
match &*datum.ty {
|
||||
"file" | "textarea" => (),
|
||||
"file" | "textarea" => (), // TODO
|
||||
_ => {
|
||||
datum.name = clean_crlf(&datum.name);
|
||||
datum.value = FormDatumValue::String(clean_crlf( match datum.value {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue