servo/components/layout
bors-servo 7aae164fcd Auto merge of #19622 - tigercosmos:x2, r=shinglyu
pretty print tree

<!-- Please describe your changes on the following line: -->
```
│  │  │  │  │  │  │         floatspec-out=L 0px R 0px
│  │  │  │  │  │  │         overflow=Overflow { scroll: TypedRect(0px×0px at (0px,0px)), paint: TypedRect(0px×0px at (0px,0px)) }
│  │  │  │  │  │  │         damage=BUBBLE_ISIZES
│  │  │  │  │  │  │  └─ ↑↑ Fragment for block:
│  │  │  │  │  │  │  │         SpecificFragmentInfo::Table(2671) []
│  │  │  │  │  │  │  │         border_box=LogicalRect(H LTR, i0px×b0px, @ (i0px,b0px))
│  │  │  │  │  │  │  │         damage=REPOSITION | STORE_OVERFLOW | BUBBLE_ISIZES | REFLOW_OUT_OF_FLOW | REFLOW
│  │  │  │  ├─ Block(1268a9710)
│  │  │  │  │         sc=StackingContextId(0)
│  │  │  │  │         pos=LogicalRect(H LTR, i720px×b36px, @ (i152px,b2636.883333333333px))
│  │  │  │  │         floatspec-in=L 0px R 0px
│  │  │  │  │         floatspec-out=L 0px R 0px
│  │  │  │  │         overflow=Overflow { scroll: TypedRect(750px×36px at (-15px,0px)), paint: TypedRect(750px×36px at (-15px,0px)) }
│  │  │  │  │         children=1
│  │  │  │  │         damage=BUBBLE_ISIZES
│  │  │  │  │  ├─ ↑↑ Fragment for block:
│  │  │  │  │  │         SpecificFragmentInfo::Generic(2673) []
│  │  │  │  │  │         border_box=LogicalRect(H LTR, i720px×b36px, @ (i0px,b0px))
│  │  │  │  │  │         border_padding=LogicalMargin(H LTR, i:0px..0px b:6px..0px)
│  │  │  │  │  │         damage=REPOSITION | STORE_OVERFLOW
│  │  │  │  │  ├─ Block(128554f10)
│  │  │  │  │  │         sc=StackingContextId(0)
│  │  │  │  │  │         pos=LogicalRect(H LTR, i750px×b30px, @ (i0px,b6px))
│  │  │  │  │  │         floatspec-in=L 0px R 0px
│  │  │  │  │  │         floatspec-out=L 0px R 0px
│  │  │  │  │  │         overflow=Overflow { scroll: TypedRect(750px×30px at (-15px,0px)), paint: TypedRect(750px×30px at (-15px,0px)) }
│  │  │  │  │  │         children=6
│  │  │  │  │  │         damage=BUBBLE_ISIZES
│  │  │  │  │  │  ├─ ↑↑ Fragment for block:
│  │  │  │  │  │  │         SpecificFragmentInfo::Generic(2361) []
│  │  │  │  │  │  │         border_box=LogicalRect(H LTR, i750px×b30px, @ (i-15px,b0px))
│  │  │  │  │  │  │         margin=LogicalMargin(H LTR, i:-15px..-15px b:0px..0px)
│  │  │  │  │  │  │         damage=REPOSITION | STORE_OVERFLOW
│  │  │  │  │  │  ├─ TableWrapperFlow: Block(128555410)
│  │  │  │  │  │  │         sc=StackingContextId(0)
│  │  │  │  │  │  │         pos=LogicalRect(H LTR, i750px×b0px, @ (i-15px,b0px))
│  │  │  │  │  │  │         floatspec-in=L 0px R 0px
│  │  │  │  │  │  │         floatspec-out=L 0px R 0px
│  │  │  │  │  │  │         overflow=Overflow { scroll: TypedRect(0px×0px at (0px,0px)), paint: TypedRect(0px×0px at (0px,0px)) }
│  │  │  │  │  │  │         children=1
│  │  │  │  │  │  │         damage=BUBBLE_ISIZES
```

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12675 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/19622)
<!-- Reviewable:end -->
2017-12-25 07:56:42 -06:00
..
animation.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
block.rs pretty print tree 2017-12-23 14:40:06 +08:00
Cargo.toml layout: background-origin attribute for gradients 2017-12-15 22:16:58 +01:00
construct.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
context.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
data.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
display_list_builder.rs Paint worklets: Implement timeout for worklet painter threads 2017-12-22 10:47:23 +01:00
flex.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
floats.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
flow.rs pretty print tree 2017-12-23 14:40:06 +08:00
flow_list.rs Remove usage of unstable feature conservative_impl_trait in layout 2017-10-13 11:11:06 +02:00
flow_ref.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
fragment.rs pretty print tree 2017-12-23 14:40:06 +08:00
generated_content.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
incremental.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
inline.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
layout_debug.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
lib.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs style: Make all keywords CamelCase for consistency. 2017-12-06 02:35:10 +01:00
model.rs Update WR to use the new sticky positioning API 2017-10-30 10:15:30 +01:00
multicol.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
persistent_list.rs Use try syntax for Option where appropriate 2017-10-20 08:25:35 -07:00
query.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
sequential.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
table.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
table_caption.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_cell.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
table_colgroup.rs Wait as late as possible to assign ClipIds 2017-10-24 16:28:07 +02:00
table_row.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
table_rowgroup.rs Remove border_collapse field in InternalTable 2017-12-08 04:51:58 -08:00
table_wrapper.rs style: Make all keywords CamelCase for consistency. 2017-12-06 02:35:10 +01:00
text.rs style: Make all keywords CamelCase for consistency. 2017-12-06 02:35:10 +01:00
traversal.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
webrender_helpers.rs layout: support tiled gradients 2017-12-14 09:25:30 +01:00
wrapper.rs layout: Fixup indentation of ThreadSafeLayoutNodeHelpers::flags. 2017-11-10 13:13:19 +01:00