servo/components/layout
Patrick Walton bffaad118e layout: Rewrite clipping to be per-display-item instead of having
a separate `ClipDisplayItem`.

We push down clipping areas during absolute position calculation. This
makes display items into a flat list, improving cache locality. It
dramatically simplifies the code all around.

Because we need to push down clip rects even for absolutely-positioned
children of non-absolutely-positioned flows, this patch alters the
parallel traversal to compute absolute positions for
absolutely-positioned children at the same time it computes absolute
positions for other children. This doesn't seem to break anything either
in theory (since the overall order remains correct) or in practice. It
simplifies the parallel traversal code quite a bit.

See the relevant Gecko bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=615734
2014-10-13 21:40:36 -07:00
..
css Use Gecko's simpler Bloom filter instead of one based on hash 2014-10-10 17:02:27 -07:00
block.rs layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00
Cargo.toml Eliminate servo_util::atom 2014-09-29 18:39:36 -07:00
construct.rs layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00
context.rs Incremental Style Recalc 2014-10-09 12:55:21 -04:00
floats.rs Incremental Style Recalc 2014-10-09 12:55:21 -04:00
flow.rs layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00
flow_list.rs Eliminate warnings 2014-09-20 13:00:55 -07:00
flow_ref.rs Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000) 2014-09-20 13:00:06 -07:00
fragment.rs layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00
incremental.rs Incremental Style Recalc 2014-10-09 12:55:21 -04:00
inline.rs layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00
layout_debug.rs Eliminate warnings 2014-09-20 13:00:55 -07:00
layout_task.rs layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00
lib.rs Factors out DOM traversal, keeping the code in parallel free of traversal-specific logic. 2014-10-10 14:55:18 -04:00
model.rs layout: Make box-sizing only affect explicitly-specified or percentage 2014-10-09 07:59:54 -07:00
parallel.rs layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00
table.rs layout: Store containing block inline-size separately rather than 2014-10-13 14:39:34 -07:00
table_caption.rs layout: Implement the correct hypothetical box behavior for 2014-10-01 18:34:53 -07:00
table_cell.rs layout: Store containing block inline-size separately rather than 2014-10-13 14:39:34 -07:00
table_colgroup.rs layout: Implement the correct hypothetical box behavior for 2014-10-01 18:34:53 -07:00
table_row.rs layout: Store containing block inline-size separately rather than 2014-10-13 14:39:34 -07:00
table_rowgroup.rs layout: Store containing block inline-size separately rather than 2014-10-13 14:39:34 -07:00
table_wrapper.rs layout: Store containing block inline-size separately rather than 2014-10-13 14:39:34 -07:00
text.rs Improve acid2. Fix line height calculation. Text fragments get correct enclosing element style. 2014-09-26 17:12:22 +10:00
traversal.rs layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00
util.rs Privatize Node 2014-10-13 13:25:44 +02:00
wrapper.rs Privatize Element 2014-10-13 13:25:44 +02:00