aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformelement.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Force all messages to worker tasks to send a TrustedWorkerAddress along with ↵Josh Matthews2014-12-291-2/+1
| | | | the ScriptMsg. This ensures that the main-thread Worker object is rooted for as long as there are events in flight or being processed.
* auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallisterbors-servo2014-12-271-7/+0
|\ | | | | | | | | | | Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
| * Remove extra spacesManish Goregaokar2014-12-271-1/+0
| | | | | | | | Command: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/}\\n\\n\\n/}\\n\\n/"`
| * Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-6/+0
| | | | | | | | | | | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports
* | script: to_string() -> into_string()Manish Goregaokar2014-12-271-6/+6
|/
* script: Remove glob imports added in #4405Tetsuharu OHZEKI2014-12-191-6/+5
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-44/+45
|
* Implements :indeterminate pseudo-classMatthew Rasmus2014-12-161-4/+40
| | | | Addresses reviews
* Implements FormControl for HTMLTextAreaElementMatthew Rasmus2014-12-161-3/+5
|
* Adds reset method to FormControlMatthew Rasmus2014-12-161-20/+6
|
* Implements basic form resettingMatthew Rasmus2014-12-161-0/+72
| | | | | | | What can this do? Reset `<input type=text>` fields back to their default value through a call to a form's reset method. That's all for now! Fixes compile error after rebase
* Add trusted setter to EventManish Goregaokar2014-12-051-1/+2
|
* Implement form control mutability, rename FormOwner -> FormControlManish Goregaokar2014-12-051-1/+3
|
* convert script crate to use hyperSean McArthur2014-12-041-1/+1
|
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-1/+1
|
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-10/+9
|
* Make HTMLFormElementHelpers::submit take an enumerated argument instead of a ↵Gilles Leblanc2014-10-161-3/+8
| | | | | | boolean Fixes #3677
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-10-141-5/+27
| | | | 75% improvement in style recalc for Guardians of the Galaxy.
* Address review commentsManish Goregaokar2014-10-141-74/+21
|
* Filter out buttons which aren't the submitter while constructing the datasetManish Goregaokar2014-10-141-1/+9
|
* Add form submission via input elementRohan Prinja2014-10-141-17/+48
|
* Create an almost-correct form_owner() for convenienceManish Goregaokar2014-10-141-0/+4
|
* auto merge of #3666 : ttaubert/servo/issue/3644-privatize-dom, r=Manishearthbors-servo2014-10-131-4/+5
|\ | | | | | | | | | | This PR removes public fields from all (hope I didn't miss any) DOM structs. Should |Page| be privatized as well? This PR additionally introduces a #[privatize] lint to ensure nobody accidentally re-introduces a public field. All changesets compile separately if applied in the same order. Hope that helps reviewing but I can of course squash them before merging.
| * Privatize WindowTim Taubert2014-10-131-2/+2
| |
| * Privatize EventTarget and EventListenerEntryTim Taubert2014-10-131-1/+1
| |
| * Privatize InheritTypesTim Taubert2014-10-131-1/+2
| |
* | Make Event::new take enumerated values instead of booleans (fixes #3643)Tim Taubert2014-10-111-2/+2
|/
* Address review commentsManish Goregaokar2014-10-111-29/+26
|
* Implement extremely basic form submission (fixes #3554)Manish Goregaokar2014-10-111-7/+277
|
* Address review commentsManish Goregaokar2014-10-081-2/+13
|
* Add macro for reflecting URLsManish Goregaokar2014-10-071-14/+3
|
* Implement most of HTMLFormElement's webidlManish Goregaokar2014-10-071-5/+103
|
* Take the prefix from createElementNS into account for HTML elementsGilles Leblanc2014-10-061-4/+4
| | | | Fixes #3139
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-2/+2
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Use #[must_root] for HTMLElementsManish Goregaokar2014-09-171-0/+2
|
* Cargoify servoJack Moffitt2014-09-081-0/+44