mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
try to reset flows which need reflow, since reflow isn't yet idempotent
This commit is contained in:
parent
d168501555
commit
f552e2f750
13 changed files with 310 additions and 82 deletions
|
@ -20,9 +20,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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue