aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlobjectelement.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2014-10-14 00:42:35 -0600
committerbors-servo <metajack+bors@gmail.com>2014-10-14 00:42:35 -0600
commitfd70b366aeada7f8cb4b2457c04fd07f0ea9b143 (patch)
tree0fee2b9d89cf5b4382d606a3c7cddb96bb25556c /components/script/dom/htmlobjectelement.rs
parent5351c8572f564314f760037b9bcd355b43afa3aa (diff)
parentbffaad118e2e73c3fbeee4a160f2b0d7d3ff4952 (diff)
downloadservo-fd70b366aeada7f8cb4b2457c04fd07f0ea9b143.tar.gz
servo-fd70b366aeada7f8cb4b2457c04fd07f0ea9b143.zip
auto merge of #3654 : pcwalton/servo/clip-reform, r=mrobinson
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 r? @mrobinson
Diffstat (limited to 'components/script/dom/htmlobjectelement.rs')
0 files changed, 0 insertions, 0 deletions