aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/attr.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-200/+0
|
* Implemented Attribute's tokens() iteratorBruno de Oliveira Abinader2014-08-251-17/+13
|
* Fixed AttrValue::from_tokenlist indexesBruno de Oliveira Abinader2014-08-251-1/+6
| | | | | | The following issues were found: - Single concatenated spaces were indexed as a single token; - Last token, if not followed by an HTML space character, was ignored;
* Make AttrValue::as_slice impl from StrBruno de Oliveira Abinader2014-08-221-1/+4
|
* Use Attr::value() whenever possibleBruno de Oliveira Abinader2014-08-221-3/+3
|
* Pass an Atom to before_remove_attr and after_set_attr.Ms2ger2014-08-161-2/+2
|
* Make Attr::local_name an Atom.Ms2ger2014-08-161-7/+15
|
* Make Attr::owner immutable.Ms2ger2014-08-061-5/+5
| | | | | Nobody needs to change the element it's associated with, so there's no reason to use a Cell here.
* Use atom to match id selector.Tetsuharu OHZEKI2014-07-301-0/+10
|
* Port `id` attribute to use atom.Tetsuharu OHZEKI2014-07-291-0/+7
|
* Call the generated rather than the hand-written traits (fixes #2936).Ms2ger2014-07-271-9/+1
|
* Port attribute name to use atom.Glenn Watson2014-07-241-5/+6
|
* Introduce abstractions for global scopes.Ms2ger2014-07-151-1/+2
| | | | Part of #2811.
* Make some DOM members private.Ms2ger2014-06-281-2/+2
| | | | | I have not reviewed if this is the complete set of members that can be made private.
* Upgrade to latest Rust.Manish Goregaokar2014-06-271-1/+1
|
* Use internal mutability for Attr::value.Ms2ger2014-06-221-16/+26
|
* auto merge of #2649 : ebalint/servo/2580_JS_T_unrooted_replace, r=jdmbors-servo2014-06-131-1/+1
|\ | | | | | | | | removed .clone() calls modified from_rooted method parameter: T to &T
| * Replace uses of JS<T>.unrooted() with JS::from_rooted #2580Edit Balint2014-06-131-1/+1
| |
* | Remove Reflectable::mut_reflector.Ms2ger2014-06-131-4/+0
|/
* Implement parsed 'unsigned long' attributes.Ms2ger2014-06-131-1/+8
| | | | This commit is partially based on earlier work by Bruno Abinader in #2073.
* Implement support for parsed attributes.Ms2ger2014-06-131-9/+43
| | | | This commit is heavily based on earlier work by Bruno Abinader in #2073.
* Make Attr::value private.Ms2ger2014-06-081-1/+1
|
* Remove needless '&self mut' from VirtualMethods trait.Tetsuharu OHZEKI2014-06-071-2/+2
|
* Upgrade Rust.Jack Moffitt2014-06-051-1/+1
|
* Rename BindingDeclarations to Bindings.Ms2ger2014-06-021-1/+1
|
* Use Cell/RefCell for interior mutability of Attr, AttrList, Blob,Tetsuharu OHZEKI2014-05-301-3/+4
| | | | BrowserContext, ClientRect, and ClientRectList.
* Update Rust.Ms2ger2014-05-221-1/+1
|
* Fix up the virtual method unsoundness.Josh Matthews2014-05-031-2/+2
|
* Remove all root collections.Josh Matthews2014-05-031-3/+2
|
* s/Unrooted/Temporary/gJosh Matthews2014-05-031-2/+2
|
* Move WebIDL methods to traits implemented by JSRef types.Josh Matthews2014-05-031-7/+16
|
* Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.Josh Matthews2014-05-031-7/+9
|
* Turn on GC all the time. Fix rooting errors during parsing and storing ↵Josh Matthews2014-05-031-2/+2
| | | | timers. Fix borrow errors during tracing.
* Remove the 'pub use self::BindingDeclarations::*;' export.Tetsuharu OHZEKI2014-05-011-1/+1
|
* This batch of changes upgrades Servo to work with the Rust upgrade as ofLars Bergstrom2014-04-271-7/+7
| | | | | | April 10, 2014. The main changes are to privacy, to work around the issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the various API changes strewn throughout the libraries.
* Make Attr handles all setting value.Tetsuharu OHZEKI2014-04-221-4/+14
|
* Make Attr::SetValue to reflect attribute change.Tetsuharu OHZEKI2014-04-221-5/+25
|
* Make Attr::SetValue uses the internal setter.Tetsuharu OHZEKI2014-04-221-1/+1
|
* Merge Attr::new_ns and Attr::new.Ms2ger2014-04-081-15/+4
|
* Pass &JS<Window> to reflect_dom_object.Ms2ger2014-03-041-1/+1
|
* Pass &JS<Window> to some constructors.Ms2ger2014-03-041-4/+4
|
* Cleanup Element::set_attribute.Ms2ger2014-02-261-5/+2
|
* Implement JSManaged for DOM objects.Josh Matthews2014-02-241-4/+6
|
* Move DOMString into servo_util.Ms2ger2014-02-141-2/+2
|
* Make Namespace::to_str() return a string.Simon Sapin2014-01-251-1/+4
|
* Move script::dom::namespace into util, in order to use it from style later.Simon Sapin2014-01-251-1/+1
|
* Change `get_attr()` to `get_attr_val_for_layout()`.Jack Moffitt2014-01-221-0/+4
| | | | | | | | The old code was used by both layout and script, but was erroneously borrowing for the layout case (which causes parallelism problems). script now uses only `value_ref()` or `get_attribute()`, and layout now has its own unsafe version that dances around the borrows of `@mut Attr`.
* Avoid mixing up local name and name when creating attributes.Ms2ger2014-01-041-4/+5
|
* Remove the hashmap for attributes.Ms2ger2014-01-031-0/+9
|
* Change Namespace::to_str() to not allocate and return a reference.Simon Sapin2013-12-091-1/+1
|