diff options
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); } |