mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Auto merge of #12831 - notriddle:master, r=Manishearth
Add a flag to dump the computed style values I used this to trace #11818 to a style bug, rather than a layout bug. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not fix any issues - [X] These changes do not require tests because debugging <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12831) <!-- Reviewable:end -->
This commit is contained in:
commit
7b1f75b605
5 changed files with 52 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