aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlcollection.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Factor out part of the traversal routine in HTMLCollection.Ms2ger2014-12-131-24/+19
| | | | | I would move the filter() call into the traverse function as well, but the callback can't outlive its stack frame.
* Follow-up to work done in #4304.Tomasz Kołodziejski2014-12-121-1/+4
| | | | all_elements should ignore root as well.
* Don't include the root element when calling Element#getElementsByTagNameNS.Tomasz Kołodziejski2014-12-121-1/+4
|
* Don't include the root element when calling Element#getElementsByTagNameEmanuel Rylke2014-12-091-1/+4
| | | | Fixes #4249
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-1/+1
|
* Stop including the element during Element.getElementsByClassName.Achal Shah2014-11-181-2/+2
| | | | https://github.com/servo/servo/issues/3995
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-2/+2
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-10-141-7/+9
| | | | 75% improvement in style recalc for Guardians of the Galaxy.
* Privatize ElementTim Taubert2014-10-131-5/+5
|
* Simple privatizationsTim Taubert2014-10-131-0/+1
|
* Remove unnecessary `deref()`s (fixes #3586)Tim Taubert2014-10-091-5/+5
|
* Use string-cache's Namespace typeKeegan McAllister2014-09-291-3/+3
|
* 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-6/+10
|
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Merge pull request #3468 from Manishearth/jstraceableManish Goregaokar2014-09-241-10/+9
|\ | | | | Replace our usage our Encodable with JSTraceable; r=jdm
| * Address review commentsManish Goregaokar2014-09-241-5/+5
| |
| * Use JSTraceable everywhereManish Goregaokar2014-09-241-15/+14
| |
* | Handle null strings in Namespace::new.Ms2ger2014-09-231-8/+2
|/ | | | This also avoids a string copy in the rare case of an unrecognized namespace.
* Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)Keegan McAllister2014-09-201-3/+3
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-5/+5
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-23/+23
| | | | | | | | | 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.
* Revert "script: Use atom comparison in more places, especially for ↵Josh Matthews2014-09-181-9/+7
| | | | | | attributes." for persistent test failures. This reverts commit 874db261046d6155b1942efa106d2e0014295d6d.
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-09-171-7/+9
| | | | 75% improvement in style recalc for Guardians of the Galaxy.
* Add unrooted_must_root lint for enums and structs containing JS<T>, as well ↵Manish Goregaokar2014-09-161-0/+2
| | | | | | | as functions with JS<T> in their parameter list For safe wrappers over JS<T> (eg Temporary<T>) use #[allow(unrooted_must_root)]. For all other types containing a #[must_root] value, annotate the type with #[must_root] to ensure that it is never used unrooted
* Cargoify servoJack Moffitt2014-09-081-0/+257