servo/components/layout
Matt Brubeck dff1de46b2 Don't let restyle damage infect siblings
Currently `compute_layout_damage` does the following for each child of the
node it's processing.

1. Update the child with damage from the parent.
2. Update the parent with damage from the child.

When these steps are repeated for the next child, the parent's damage may
include flags that came from its previous sibling(s).  This means that damage
ends up propagating to later siblings, and not just between parents and
children as indended.

This patch propagates the same damage to all children, not including any
damage from their siblings.
2016-05-05 16:06:27 -07:00
..
animation.rs Move AnimationState to script_traits 2016-01-13 18:14:12 -05:00
block.rs Auto merge of #10999 - heycam:move-width-height, r=SimonSapin 2016-05-04 19:52:25 -07:00
Cargo.toml Upgrade to bitflags 0.6.0 and selectors 0.5.6 2016-04-30 10:14:03 -07:00
construct.rs layout: Minor whitespace cleanup. 2016-05-04 13:20:24 -07:00
context.rs layout: Stop storing PrecomputedStyleData in LayoutNode 2016-04-29 22:54:48 +02:00
data.rs Upgrade to bitflags 0.6.0 and selectors 0.5.6 2016-04-30 10:14:03 -07:00
display_list_builder.rs Auto merge of #10895 - mbrubeck:byteindex, r=pcwalton 2016-04-28 20:22:09 -07:00
flex.rs Move width and height from Box to Position. 2016-05-04 11:06:42 +10:00
floats.rs layout: When printing out debug info for the float list, include 2016-05-04 13:20:23 -07:00
flow.rs layout: Include float information in flows' debug output. 2016-05-04 13:20:22 -07:00
flow_list.rs layout: Check flow descendants of inline block fragments to find their 2016-05-04 13:20:21 -07:00
flow_ref.rs Remove explicit lifetimes which can be elided. 2015-10-21 01:27:48 +02:00
fragment.rs layout: Minor whitespace cleanup. 2016-05-04 13:20:24 -07:00
generated_content.rs Implement ::selection pseudo-element 2016-03-30 14:28:11 +02:00
incremental.rs Don't let restyle damage infect siblings 2016-05-05 16:06:27 -07:00
inline.rs layout: Consider vertical alignment of fragments during line breaking. 2016-05-04 13:20:21 -07:00
layout_debug.rs Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27) 2016-01-14 14:56:18 -06:00
layout_thread.rs style: Add infrastructure for non-eagerly-cascaded pseudo-elements 2016-04-29 22:54:45 +02:00
lib.rs Auto merge of #10928 - servo:warnings, r=mbrubeck 2016-04-30 05:16:46 -07:00
list_item.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
model.rs Add support for vertical alignment within table cells. 2016-04-20 14:40:02 -07:00
multicol.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
opaque_node.rs use self.0 instead of destructing single item tuple structs 2016-03-27 11:50:08 +01:00
parallel.rs Rename imm_child_iter() and child_iter(). Fixes #10286 2016-04-09 01:18:00 +05:30
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs layout: Stop storing PrecomputedStyleData in LayoutNode 2016-04-29 22:54:48 +02:00
sequential.rs Merge DisplayListEntry into DisplayItem 2016-04-22 10:28:27 -07:00
table.rs Rename imm_child_iter() and child_iter(). Fixes #10286 2016-04-09 01:18:00 +05:30
table_caption.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
table_cell.rs Add support for vertical alignment within table cells. 2016-04-20 14:40:02 -07:00
table_colgroup.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
table_row.rs Rename imm_child_iter() and child_iter(). Fixes #10286 2016-04-09 01:18:00 +05:30
table_rowgroup.rs Renamed TComputedValues to ComputedValues 2016-03-29 23:30:13 +03:00
table_wrapper.rs Rename imm_child_iter() and child_iter(). Fixes #10286 2016-04-09 01:18:00 +05:30
text.rs Fix some warnings 2016-04-29 19:14:46 +02:00
traversal.rs Move '&&' to the end of the previous line. 2016-04-22 14:28:18 +02:00
webrender_helpers.rs Use byte indices instead of char indices for text runs 2016-04-28 14:32:14 -07:00
wrapper.rs layout: use debug! instead of warn! for the expected ThreadSafeLayoutElement methods 2016-05-04 00:34:05 +02:00