mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Add a flag to dump the computed style values
I used this to trace #11818 to a style bug, rather than a layout bug.
This commit is contained in:
parent
a22913569c
commit
748a573917
4 changed files with 48 additions and 0 deletions
|
@ -81,6 +81,8 @@ pub trait TNode : Sized + Copy + Clone {
|
|||
|
||||
fn dump(self);
|
||||
|
||||
fn dump_style(self);
|
||||
|
||||
fn traverse_preorder(self) -> TreeIterator<Self> {
|
||||
TreeIterator::new(self)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue