Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement form submission for <select> #7849
Closed
Labels
Comments
|
I would like to work on this, along with #7850. |
|
Ok! |
bors-servo
added a commit
that referenced
this issue
Nov 13, 2015
form submission for <textarea> and <select> Fixes #7849 and #7850. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7919) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Dec 6, 2015
form submission for <textarea> and <select> Fixes #7849 and #7850. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7919) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Dec 30, 2015
form submission for <textarea> and <select> Fixes #7849. Fixes #7850. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7919) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to https://html.spec.whatwg.org/multipage/forms.html#constructing-the-form-data-set we're supposed to include the selected
<option>values from<select>(see step 3.5). We should implemented the//Unimplementedpiece inget_form_datasetrelated toHTMLSelectElement, by adding a method toHTMLSelectElementthat fetches the required values in a vector of DOMString, and appends aFormDatumvalue for each one according to the specification in 3.5.code: components/script/dom/htmlselecteelement.rs, components/script/dom/htmlformelement.rs