aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlelement.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* | Basic element.focus and blur methodsMatt Brubeck2015-04-041-3/+29
|/ | | | Fixes #5462.
* Remove some unnecessary uses of `as_slice`Corey Farwell2015-03-291-4/+4
| | | | | | | | | | | For the majority of these cases, `as_slice` can be removed due to `Deref`. In particular, `Deref` for: * `String` -> `str` * `Atom` -> `str` The latter of those two requires, a bump of the locked `string-cache` library
* Fix various build warnings.Ms2ger2015-03-201-1/+0
|
* Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-2/+6
|
* Use new `if let` syntax wherever possible. Fixes #4153.Zack Slayton2015-03-101-6/+6
|
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-0/+1
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* Fix some warnings in script.Ms2ger2015-02-121-1/+1
|
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-1/+1
|
* 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-9/+10
|
* Move to to_owned rather than into_string.Ms2ger2015-01-201-3/+4
| | | | into_string has been removed from Rust.
* Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-2/+2
|
* auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2gerbors-servo2015-01-041-5/+76
|\
| * Fix inheritance enums for htmlmediaelement and htmltablecellelementMegha Gupta2015-01-021-5/+4
| |
| * Add HTMLElementTypeId enum (fixes #3625)Megha Gupta2015-01-021-5/+77
| |
* | Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-7/+7
| | | | | | | | This changes those calls that were already sound.
* | Replace the remaining to_string calls by into_string calls.Ms2ger2014-12-311-1/+1
|/
* Added readonly flag for CSSStyleDeclarationProgramFOX2014-12-281-2/+2
|
* auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallisterbors-servo2014-12-271-6/+1
|\ | | | | | | | | | | 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 manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-6/+1
| | | | | | | | | | | | | | | | | | 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-1/+1
|/
* Implement HTMLElement.dataset (fixes #2974).Bruno de Oliveira Abinader2014-12-231-1/+56
|
* Revert PR #4038 for causing WPT failures.Ms2ger2014-12-231-56/+1
|
* Implement HTMLElement.datasetBruno de Oliveira Abinader2014-12-191-1/+56
| | | | Make DOMStringMap use related Element's custom attributes values.
* Handle getting/setting onload for any element.Eduard Burtescu2014-12-191-1/+5
|
* Merge CSS2Properties and CSSStyleDeclaration.Josh Matthews2014-12-181-4/+2
|
* Address review comments.Josh Matthews2014-12-181-6/+4
|
* Implement something like CSS value serialization. Fetch actual inline style ↵Josh Matthews2014-12-181-2/+2
| | | | declarations from owning elements.
* Add a style property to HTMLElement.Josh Matthews2014-12-181-4/+20
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-6/+6
|
* Add oninput/onchange so tests workManish Goregaokar2014-12-051-1/+1
|
* Address review commentsManish Goregaokar2014-12-051-0/+1
|
* Hook up synthetic click activation to script_task and <>.click()Manish Goregaokar2014-12-051-2/+14
|
* auto merge of #4130 : saneyuki/servo/cast, r=Manishearthbors-servo2014-11-281-5/+0
|\ | | | | | | | | | | Fix #4124 This also introduce `BarCast::from_actual()` which is used for up-cast for dom's actual data types (non JS pointer values).
| * Remove HTMLElement.element().Tetsuharu OHZEKI2014-11-281-5/+0
| |
* | Implemented hidden, removed corresponding passed testsaakashjain2014-11-281-0/+4
|/
* Implement HTMLElement#lang.Ms2ger2014-11-061-0/+3
|
* Implement HTMLElement.title.Ms2ger2014-11-051-0/+5
|
* auto merge of #3776 : saneyuki/servo/macro, r=jdmbors-servo2014-10-221-9/+1
|\ | | | | | | | | | | Fix #3755 This doesn't convert some specialized event handlers (e.g. `HTMLBodyElement`'s ones, `HTMLElement.GetOnload()`).
| * Macroize event handler getters and setters.Tetsuharu OHZEKI2014-10-231-9/+1
| |
* | Usage of JSRef<Attr> in before_remove_attr & after_set_attrBruno de Oliveira Abinader2014-10-221-7/+9
|/ | | | | 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/+7
|
* Remove unnecessary `deref()`s (fixes #3586)Tim Taubert2014-10-091-2/+2
|
* Take the prefix from createElementNS into account for HTML elementsGilles Leblanc2014-10-061-4/+4
| | | | Fixes #3139
* Use string-cache's Namespace typeKeegan McAllister2014-09-291-2/+1
|
* Eliminate servo_util::atomKeegan McAllister2014-09-291-1/+1
| | | | We only needed this for Encodable, and now we use JSTraceable instead.
* Upgrade to rustc d2b30f7d3 2014-09-23Simon Sapin2014-09-291-2/+2
|