diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-10-14 16:51:30 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-10-14 16:51:30 -0600 |
commit | 56989b8dec4aa95a3b484d45f15b23f9b3daaf13 (patch) | |
tree | 91c6c430b9a9513be320bc69d79b63f1523f2af5 /components/style/node.rs | |
parent | e2d7777c41135b71293c195d2a9d7a1bc2afd0ca (diff) | |
parent | f552e2f7501337fae76ad66401a1e011d00211df (diff) | |
download | servo-56989b8dec4aa95a3b484d45f15b23f9b3daaf13.tar.gz servo-56989b8dec4aa95a3b484d45f15b23f9b3daaf13.zip |
auto merge of #3640 : cgaebel/servo/incremental-flow-construction, r=pcwalton
This also hides the not-yet-working parts of incremental reflow behind a runtime
flag. As I get the failing reftests passing, I'll send pull requests for them one
by one.
Diffstat (limited to 'components/style/node.rs')
-rw-r--r-- | components/style/node.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/style/node.rs b/components/style/node.rs index fae199364de..ea0d8a614c0 100644 --- a/components/style/node.rs +++ b/components/style/node.rs @@ -21,9 +21,15 @@ pub trait TNode<'a, E: TElement<'a>> : Clone + Copy { fn match_attr(self, attr: &AttrSelector, test: |&str| -> bool) -> bool; fn is_html_element_in_html_document(self) -> bool; + fn has_changed(self) -> bool; + unsafe fn set_changed(self, value: bool); + fn is_dirty(self) -> bool; unsafe fn set_dirty(self, value: bool); + fn has_dirty_siblings(self) -> bool; + unsafe fn set_dirty_siblings(self, value: bool); + fn has_dirty_descendants(self) -> bool; unsafe fn set_dirty_descendants(self, value: bool); } |