aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmltextareaelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use new `if let` syntax wherever possible. Fixes #4153.Zack Slayton2015-03-101-22/+12
|
* formcontrol trait to element traityodalee2015-02-031-12/+18
| | | | | | mutable function and reset function in formcontrol move into trait of single element currently only TextArea element and Input element
* LayoutJS<T> implements Layout*Helpers instead of JS<T>.Tetsuharu OHZEKI2015-02-011-2/+2
|
* 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.
* Don't shadow lifetimes in script.Ms2ger2015-01-281-1/+1
|
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-16/+16
|
* Move to to_owned rather than into_string.Ms2ger2015-01-201-2/+3
| | | | into_string has been removed from Rust.
* auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2gerbors-servo2015-01-041-4/+5
|\
| * Add HTMLElementTypeId enum (fixes #3625)Megha Gupta2015-01-021-4/+5
| |
* | Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-2/+2
|/ | | | This changes those calls that were already sound.
* 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.
| * Ensure that Reflectors are the first fieldManish Goregaokar2014-12-271-0/+17
| |
| * Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-24/+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-2/+2
|/
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-16/+16
|
* auto merge of #4133 : mttr/servo/form_resetting, r=jdmbors-servo2014-12-161-5/+32
|\ | | | | | | | | | | | | | | We can reset `<input type=text>` fields! I wish I could've done something with checkboxes, but unfortunately, that's it for now. In addition to that, this PR implements `HTMLInputAttribute.defaultValue`, updates wpt-test to expect passing tests as a result of that implementation, and fixes an index error crash with text inputs. edit: also includes an html example where one may lazily watch form resets in action: ` tests/html/form_reset_handsfree.html`
| * Implements :indeterminate pseudo-classMatthew Rasmus2014-12-161-27/+3
| | | | | | | | Addresses reviews
| * Implements dirty value/checked flags for inputMatthew Rasmus2014-12-161-1/+1
| | | | | | | | | | | | And modifies test-inputs.html to test. Fixes wpt breaking mistake
| * htmltextarea: Fixed some value_changed issuesMatthew Rasmus2014-12-161-2/+4
| | | | | | | | | | Also modified tests/html/textarea.html to allow for the testing of the textarea's dirty value flag.
| * Implements FormControl for HTMLTextAreaElementMatthew Rasmus2014-12-161-4/+53
| |
* | Makes layout respect <textarea> rows attributeMatthew Rasmus2014-12-161-0/+17
| | | | | | | | review addresssing
* | Makes layout respect <textarea> cols attributeMatthew Rasmus2014-12-161-1/+23
|/
* script: Improve dirty propagation and fix script-layout synchronization.Patrick Walton2014-12-151-2/+3
| | | | | This fixes race conditions whereby layout and script could be running simultaneously.
* Handle default uint attributes properlyMatthew Rasmus2014-12-051-1/+12
| | | | ...and passing a whole bunch of new tests.
* HTMLTextArea: Implements a dirty value flagMatthew Rasmus2014-12-051-10/+24
|
* Updates WPT to expect newly passing testsMatthew Rasmus2014-12-051-3/+3
| | | | | | Addresses reviews More review addressing
* Implements multi line text input for TextAreaMatthew Rasmus2014-12-051-5/+87
|
* Implements some HTMLTextAreaElement attributesMatthew Rasmus2014-12-051-0/+52
| | | | | | | | These attributes all reflect their own related content values, with the exception of defaultValue, which acts as an alias for its IDL textContent attribute. Many of these do have default values and constraints which are currently unimplemented.
* Usage of JSRef<Attr> in before_remove_attr & after_set_attrBruno de Oliveira Abinader2014-10-221-12/+14
| | | | | JSRef<Attr> does not require allocating a DOMString for value, which are unused in most cases. It also provides more access to Attr data.
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Privatize EventTarget and EventListenerEntryTim Taubert2014-10-131-1/+1
|
* Privatize InheritTypesTim Taubert2014-10-131-1/+2
|
* Add type IDL attr for submittable elementsManish Goregaokar2014-10-111-0/+5
|
* Address review commentsManish Goregaokar2014-10-081-2/+2
|
* Use macro setters everywhere elseManish Goregaokar2014-10-071-4/+1
|
* Take the prefix from createElementNS into account for HTML elementsGilles Leblanc2014-10-061-4/+4
| | | | Fixes #3139
* Eliminate servo_util::atomKeegan McAllister2014-09-291-1/+1
| | | | We only needed this for Encodable, and now we use JSTraceable instead.
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-2/+2
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-8/+8
| | | | | | | | | 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/+124