aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_interface.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-05-01 13:15:23 -0500
committerbors-servo <metajack+bors@gmail.com>2015-05-01 13:15:23 -0500
commit5f6a740190e1e5912d84162c92c6b79365df165a (patch)
tree1f6d4b28c9abbc8ad1efbbe6e2c211e4b946d37a /components/script/layout_interface.rs
parent03d0303e6726fb4c23fa22461e2123633ef85b61 (diff)
parenta5a52147836bafa7fa865300d03d19d2d4004dd4 (diff)
downloadservo-5f6a740190e1e5912d84162c92c6b79365df165a.tar.gz
servo-5f6a740190e1e5912d84162c92c6b79365df165a.zip
Auto merge of #5913 - glennw:bounding-rect, r=pcwalton
* Fix queries involving stacking contexts * The code was double accumulating stacking context origins. * Handle queries of inline elements. * The node addresses being compared were incorrect (CharacterData vs. Span) * Handle ScriptQuery reflows correctly. * The layout task was skipping the compute absolute positions traversal, so failed before window.onload. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5913) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r--components/script/layout_interface.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs
index 05046c3e564..4aa66eb452d 100644
--- a/components/script/layout_interface.rs
+++ b/components/script/layout_interface.rs
@@ -88,7 +88,7 @@ pub struct HitTestResponse(pub UntrustedNodeAddress);
pub struct MouseOverResponse(pub Vec<UntrustedNodeAddress>);
/// Why we're doing reflow.
-#[derive(PartialEq, Debug)]
+#[derive(PartialEq, Copy, Debug)]
pub enum ReflowGoal {
/// We're reflowing in order to send a display list to the screen.
ForDisplay,