aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/node.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Stop mutating Element::namespace.Ms2ger2014-06-111-11/+6
| | |
* | | Use internal mutability for Node.flags.Ms2ger2014-06-111-16/+15
|/ /
* / script: Inline `is_element_for_layout` and friends.Patrick Walton2014-06-091-0/+3
|/ | | | 8% improvement on style recalc on Wikipedia.
* auto merge of #2607 : bjz/servo/leeeeeak, r=jdmbors-servo2014-06-061-0/+9
|\ | | | | | | | | | | Introduced by yours-truly in 7212c3573e7f2b13f907e17a5683d382b34ab932 Oopsie.
| * Fix leakBrendan Zabarauskas2014-06-061-0/+9
| | | | | | | | | | | | Introduced by yours-truly in 7212c3573e7f2b13f907e17a5683d382b34ab932 Oopsie.
* | auto merge of #2591 : brunoabinader/servo/document-queryselector-v3, r=jdmbors-servo2014-06-061-3/+77
|\ \ | |/ |/| | | | | | | | | This is a subtask for #2254 & #2576. Spec: http://dom.spec.whatwg.org/#dom-parentnode-queryselector
| * Fixed traversal issuesBruno de Oliveira Abinader2014-06-061-4/+5
| |
| * Implement querySelector for DocumentBruno de Oliveira Abinader2014-06-051-1/+28
| |
| * Implement TNode for JS<Node>Bruno de Oliveira Abinader2014-06-051-2/+48
| |
* | Remove needless '&self mut' from VirtualMethods trait.Tetsuharu OHZEKI2014-06-071-9/+9
| |
* | Use bitflags! for NodeFlagsBrendan Zabarauskas2014-06-051-27/+26
|/
* Upgrade Rust.Jack Moffitt2014-06-051-14/+12
|
* auto merge of #2555 : brson/servo/warnings, r=metajackbors-servo2014-06-021-1/+1
|\ | | | | | | Depends on https://github.com/mozilla-servo/rust-fontconfig/pull/19, https://github.com/mozilla-servo/rust-harfbuzz/pull/21, https://github.com/mozilla-servo/rust-hubbub/pull/23, https://github.com/mozilla-servo/rust-layers/pull/68, https://github.com/mozilla-servo/sharegl/pull/29, https://github.com/mozilla-servo/rust-mozjs/pull/85.
| * Eliminate some warningsBrian Anderson2014-06-021-1/+1
| |
* | Rename BindingDeclarations to Bindings.Ms2ger2014-06-021-1/+1
| |
* | Remove low-level pointer stitching methods from Node.Ms2ger2014-06-021-67/+27
|/ | | | | | There is no good reason for the additional abstraction here. This commit also adds assertions that were suggested in XXX comments.
* Remove needless '&mut self' from node.rs.Tetsuharu OHZEKI2014-06-021-62/+64
|
* Remove needless lifetime parameter from LayoutNodeHelpers.Tetsuharu OHZEKI2014-06-021-12/+12
|
* "JS<T>::from_raw" should accept "*T" instead of "*mut T"Tetsuharu OHZEKI2014-05-311-1/+1
|
* Use Cell/RefCell for interior mutability of Node.Tetsuharu OHZEKI2014-05-301-59/+59
|
* Use Cell/RefCell for interior mutability of Element.Tetsuharu OHZEKI2014-05-301-8/+12
|
* Use *mut T for the T* pointers in SpiderMonkey.Ms2ger2014-05-261-4/+4
|
* Update Rust.Ms2ger2014-05-221-7/+7
|
* auto merge of #2388 : zwarich/servo/cssom, r=jdmbors-servo2014-05-121-0/+9
|\ | | | | | | | | | | | | | | Implementing the CSSOM requires giving the script task access to the computed style for a node. Moving it into a new SharedLayoutData struct member of LayoutDataRef seems to be the best way to achieve this. This is the first step towards #1721.
| * Move the computed style to a new SharedLayoutData struct.Cameron Zwarich2014-05-091-0/+9
| | | | | | | | | | | | | | | | Implementing the CSSOM requires giving the script task access to the computed style for a node. Moving it into a new SharedLayoutData struct member of LayoutDataRef seems to be the best way to achieve this. This is the first step towards #1721.
* | Use == instead of match for tests against a single enum valueMartin Robinson2014-05-081-18/+4
|/ | | | | | | The performance of using == should now equal that of match, so many identity methods can be simplified to a single line. Fixes #1596.
* Rename from_unrooted to from_temporary. Fixes #2332.Glenn Watson2014-05-071-8/+8
|
* Implement ChildNode.remove()Harry Maclean2014-05-051-0/+8
|
* Replace most ~"string"s with "string".to_owned().Ms2ger2014-05-041-4/+4
|
* Replace all ~"" with "".to_owned().Ms2ger2014-05-031-2/+2
|
* Address review comments.Josh Matthews2014-05-031-56/+56
|
* Fix up the virtual method unsoundness.Josh Matthews2014-05-031-6/+7
|
* Address review comments.Josh Matthews2014-05-031-21/+20
|
* Remove all root collections.Josh Matthews2014-05-031-130/+88
|
* s/Unrooted/Temporary/gJosh Matthews2014-05-031-72/+72
|
* Move all methods on T to JSRef<T> or JS<T> as appropriate.Josh Matthews2014-05-031-314/+313
|
* Remove abstract_self.Josh Matthews2014-05-031-90/+74
|
* Move WebIDL methods to traits implemented by JSRef types.Josh Matthews2014-05-031-309/+343
|
* Remove JS::get/get_mut to enforce sound rooting practices.Josh Matthews2014-05-031-34/+32
|
* Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.Josh Matthews2014-05-031-380/+385
|
* Turn on GC all the time. Fix rooting errors during parsing and storing ↵Josh Matthews2014-05-031-191/+290
| | | | timers. Fix borrow errors during tracing.
* Node::GetParentElement should use and_then instead of filtered/map.Tetsuharu OHZEKI2014-05-021-3/+1
|
* Remove the 'pub use self::BindingDeclarations::*;' export.Tetsuharu OHZEKI2014-05-011-1/+1
|
* Use Vec in Node mutation methods.Ms2ger2014-04-281-4/+4
|
* Make get_content_boxes return Vec.Ms2ger2014-04-281-2/+2
|
* Make TreeIterator::nodes a Vec.Ms2ger2014-04-281-6/+6
|
* This batch of changes upgrades Servo to work with the Rust upgrade as ofLars Bergstrom2014-04-271-28/+29
| | | | | | 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.
* Ensure Node.Normalize() acts on all descendants by recursively calling it on ↵Harry Maclean2014-04-241-0/+2
| | | | all non-text child nodes.
* Add NodeHelpers::get_content_boxes().Tetsuharu OHZEKI2014-04-241-1/+12
|
* Add NodeHelpers::get_bounding_content_box().Tetsuharu OHZEKI2014-04-241-2/+14
|