servo/components/layout
bors-servo d5913035ec Auto merge of #12981 - splav:inline_reconstruct#12602, r=notriddle
Inline reconstruct#12602

<!-- Please describe your changes on the following line: -->
This PR fixes two different issues:
1) In non-incremental layout mode if the inline node hasn't changes - the style pass was skipped, that leads to the corresponding ConstructionResult was not produced. When the parent was rebuilt, the child without the ConstructionResult was omited.
2) When the opacity was changed (or other style change, causing only repaint) for image (and others, producing only ConstructionItem) the damage is calculated only from children's flows, not from individual fragments. So for now, let's pretend we've newly constructed the ConstructionItem and thus need to rebuild the parent's flow.

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

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

<!-- 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/12981)
<!-- Reviewable:end -->
2016-08-23 15:43:56 -05:00
..
animation.rs Make RestyleDamage::compute take no optional argument, delegate the handling to the caller. 2016-08-10 18:26:24 -07:00
block.rs Auto merge of #12873 - shinglyu:abs-margin-patch, r=notriddle,emilio 2016-08-15 08:19:04 -05:00
Cargo.toml Update euclid to 0.10.1 2016-08-21 03:03:45 +02:00
construct.rs set HAS_NEWLY_CONSTRUCTED_FLOW flag for reconstructed flow'less inline element 2016-08-23 01:45:11 +03:00
context.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
data.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
display_list_builder.rs Review fixups 2016-08-22 22:45:16 +05:30
flex.rs layout: Freeze flex item properly 2016-08-08 10:34:02 +08:00
floats.rs layout: Take margins in the inline direction into account when 2016-05-10 17:11:28 -07:00
flow.rs Use impl DoubleEndedIterator for two flow_list iterators 2016-08-14 19:06:18 +02:00
flow_list.rs Use impl DoubleEndedIterator for two flow_list iterators 2016-08-14 19:06:18 +02:00
flow_ref.rs Correct the signature of flow_ref::deref_mut. 2016-06-06 15:14:23 +02:00
fragment.rs Fix wrong calculation of inline element's block size 2016-08-22 11:17:41 +03:00
generated_content.rs Remove the ComputedValue traits and style_struct_traits 2016-07-20 08:42:40 +02:00
incremental.rs Introduce a script_layout_interface crate and move RestyleDamage to it. 2016-06-20 19:02:36 +02:00
inline.rs do not merge inline fragments if there is space in between 2016-08-11 10:11:11 +03:00
layout_debug.rs Fragment debug_id u16 only exists in debug, prod will format mem address 2016-06-04 19:19:42 +02:00
lib.rs Use impl DoubleEndedIterator for two flow_list iterators 2016-08-14 19:06:18 +02:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
model.rs Update euclid to 0.10.1 2016-08-21 03:03:45 +02:00
multicol.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Move util::workqueue to style 2016-07-04 21:56:09 +02:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Auto merge of #12813 - emilio:hit-test, r=notriddle 2016-08-11 05:34:27 -05:00
sequential.rs layout: Make the stacking context take into account the children transform when calculating overflow areas. 2016-08-16 15:34:28 -07:00
table.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_caption.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_cell.rs Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04) 2016-08-05 14:45:32 +02:00
table_colgroup.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_row.rs Fix table vertical alignment (middle, bottom, not yet baseline) with differing height cells 2016-07-26 13:05:10 +01:00
table_rowgroup.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_wrapper.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
text.rs Prefer length and percentage for word spacing 2016-08-09 17:53:40 +05:30
traversal.rs Rewrite the style sharing candidate cache. 2016-08-17 14:16:16 -07:00
webrender_helpers.rs layout: Make the stacking context take into account the children transform when calculating overflow areas. 2016-08-16 15:34:28 -07:00
wrapper.rs Remove the ComputedValue traits and style_struct_traits 2016-07-20 08:42:40 +02:00