servo/components/layout
bors-servo bbf292b120 Auto merge of #16337 - stshine:inline-block-intrinsic, r=notriddle
layout: Fix intrinsic inline size calculating of inline blocks

When calculating intrinsic inline sizes of an inline block, take its
nested inline parents into account.

---
<!-- 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 #7636 (github issue number if applicable).

<!-- Either: -->
- [X] 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/16337)
<!-- Reviewable:end -->
2017-04-21 22:43:06 -05:00
..
animation.rs stylo: Store font metrics provider in thread local style context 2017-04-09 19:15:35 +08:00
block.rs Used shared clips for overflow:hidden and CSS clip 2017-04-17 17:06:43 +02:00
Cargo.toml Update string-cache. 2017-04-07 13:38:40 +02:00
construct.rs Use empty pseudo to cascade only inheritable properties for text 2017-04-01 14:05:11 +08:00
context.rs Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
data.rs Bug 1325734 - Remove Servo Layout's dependency on the initial-ness of the style. r=emilio 2017-01-09 11:51:36 -08:00
display_list_builder.rs Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
flex.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
floats.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
flow.rs Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
flow_list.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
flow_ref.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
fragment.rs Auto merge of #16337 - stshine:inline-block-intrinsic, r=notriddle 2017-04-21 22:43:06 -05:00
generated_content.rs Replace RwLock<StyleRule> with Locked<StyleRule> 2017-03-19 22:30:37 +01:00
incremental.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
inline.rs layout: Merge inline nodes based on node address, not node style. 2017-03-11 11:31:12 +01:00
layout_debug.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
lib.rs Trigger reflow on document.elementsFromPoint 2017-03-02 10:44:38 +01:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
model.rs Activate flexbox layout tracing 2016-12-28 15:31:45 +08:00
multicol.rs Switch column-count to use predefined integer type 2017-03-17 23:08:05 +11:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
sequential.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table_caption.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table_cell.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table_colgroup.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
table_row.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
table_rowgroup.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
table_wrapper.rs Remove cached thread local context from LayoutContext 2017-02-08 08:47:54 +08:00
text.rs Overwrite default RunInfo values with the first real ones encountered. 2017-04-13 09:56:48 +10:00
traversal.rs Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
webrender_helpers.rs Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
wrapper.rs Bug 1325734 - Simplify ElementData and eliminate the concept of consuming styles. r=emilio 2017-01-09 11:51:37 -08:00