aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlselectelement.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-09-16 20:43:59 -0600
committerbors-servo <metajack+bors@gmail.com>2015-09-16 20:43:59 -0600
commit4e9a888f1ac58866833418ee5e8253358918b741 (patch)
tree29266bba31d7a3e9a7d9c2dcd4287878d1dc9867 /components/script/dom/htmlselectelement.rs
parentb511004a616862394318381d7ef5ac3c59c7babe (diff)
parent30963d76be8f9b7a7962594dd3df111c78219795 (diff)
downloadservo-4e9a888f1ac58866833418ee5e8253358918b741.tar.gz
servo-4e9a888f1ac58866833418ee5e8253358918b741.zip
Auto merge of #7648 - mrobinson:print-tree, r=glennw
Improve printing of DisplayLists Use box tree characters to make DisplayLists easier to scan when printing them out. This is what the output looked like before: ``` #### start printing display list. "####" Stacking context at Rect(800px×608px at (0px,0px)) with overflow Rect(800px×608px at (0px,0px)): #### SolidColor(0,0,0,0). Rect(800px×608px at (0px,0px)) #### SolidColor(0,0,0,0). Rect(784px×0px at (8px,0px)) #### SolidColor(0,0.5019608,0,1). Rect(100px×100px at (0px,0px)) #### Child layers list length: 1 "########" Stacking context at Rect(100px×100px at (0px,0px)) with overflow Rect(100px×100px at (0px,0px)): ######## SolidColor(1,0,0,1). Rect(100px×100px at (0px,0px)) ######## Child layers list length: 1 "############" Stacking context at Rect(100px×100px at (0px,0px)) with overflow Rect(100px×100px at (0px,0px)): ``` This is what it looks like after this patch: ``` ┌ DisplayList │ ├─ Layered StackingContext at Rect(800px×608px at (0px,0px)) with overflow Rect(800px×608px at (0px,0px)): │ │ ├─ Block Backgrounds and Borders │ │ │ ├─ SolidColor rgba(0, 0, 0, 0) @ Rect(800px×608px at (0px,0px)) (7f926f46f1f0) │ │ │ └─ SolidColor rgba(0, 0, 0, 0) @ Rect(784px×0px at (8px,0px)) (7f926f46f2e0) │ │ ├─ Layered StackingContext at Rect(100px×100px at (0px,0px)) with overflow Rect(100px×100px at (0px,0px)): │ │ │ ├─ Backgrounds and Borders │ │ │ │ └─ SolidColor rgba(1, 0, 0, 1) @ Rect(100px×100px at (0px,0px)) (7f926f46f310) │ │ │ ├─ Layered StackingContext at Rect(100px×100px at (0px,0px)) with overflow Rect(100px×100px at (0px,0px)): │ │ ├─ Layered StackingContext at Rect(100px×100px at (0px,0px)) with overflow Rect(100px×100px at (0px,0px)): │ │ │ ├─ Backgrounds and Borders │ │ │ │ └─ SolidColor rgba(0, 0.5019608, 0, 1) @ Rect(100px×100px at (0px,0px)) (7f926f46f3a0) ``` <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7648) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlselectelement.rs')
0 files changed, 0 insertions, 0 deletions