aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-1/+1
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* Fixing Intermittent failure in pages with timersPrabhjyot Singh Sodhi2015-02-221-1/+1
| | | | Fixes #4923
* Fix some warnings in script.Ms2ger2015-02-121-1/+1
|
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-1/+1
|
* Import msg as msg rather than servo_msg.Ms2ger2015-02-101-1/+1
|
* Make Document::url return the page's URL to avoid stale URLs after redirects.Josh Matthews2015-02-041-1/+1
|
* Set the Content-Type header when submitting a urlencoded form.Josh Matthews2015-02-041-2/+9
|
* Initialize trusted-ness of DOM events properlyGilles Leblanc2015-02-031-4/+2
| | | | Fixes #3740
* activation behavior for Button type Submityodalee2015-02-031-2/+25
|
* formcontrol trait to element traityodalee2015-02-031-5/+2
| | | | | | mutable function and reset function in formcontrol move into trait of single element currently only TextArea element and Input element
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-1/+1
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-26/+31
|
* Move to to_owned rather than into_string.Ms2ger2015-01-201-6/+7
| | | | into_string has been removed from Rust.
* Fix `variable does not need to be mutable` warningMatthew Rasmus2015-01-081-1/+1
|
* Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-0/+5
|
* auto merge of #4542 : servo/servo/pre-rustup_20141221, r=saneyukibors-servo2015-01-041-2/+2
|\ | | | | | | In particular, this contains changes to qualify enums where rust will require it, and to stop using some features that will be removed.
| * Qualify hyper enums.Ms2ger2015-01-041-2/+2
| |
* | auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2gerbors-servo2015-01-041-15/+16
|\ \ | |/ |/|
| * Add HTMLElementTypeId enum (fixes #3625)Megha Gupta2015-01-021-15/+16
| |
* | Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-12/+12
|/ | | | This changes those calls that were already sound.
* 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
|