aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/inline.rs
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2017-08-08 10:56:53 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2017-08-08 11:20:16 -0700
commitca300d642428f3e6ab305165f765c5acccc1a5d9 (patch)
tree0ef10f38fa95b985752285e3227fa1676a050df1 /components/layout/inline.rs
parent832b811198363814928365ea4636bca5abae52db (diff)
downloadservo-ca300d642428f3e6ab305165f765c5acccc1a5d9.tar.gz
servo-ca300d642428f3e6ab305165f765c5acccc1a5d9.zip
Allow CalculateStackingRelativePositions to short-circuit
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r--components/layout/inline.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs
index bcda03232c8..c78f93fc318 100644
--- a/components/layout/inline.rs
+++ b/components/layout/inline.rs
@@ -33,7 +33,7 @@ use style::computed_values::{display, overflow_x, position, text_align, text_jus
use style::computed_values::{vertical_align, white_space};
use style::logical_geometry::{LogicalRect, LogicalSize, WritingMode};
use style::properties::{longhands, ComputedValues};
-use style::servo::restyle_damage::{BUBBLE_ISIZES, REFLOW, REFLOW_OUT_OF_FLOW, REPOSITION, RESOLVE_GENERATED_CONTENT};
+use style::servo::restyle_damage::{BUBBLE_ISIZES, REFLOW, REFLOW_OUT_OF_FLOW, RESOLVE_GENERATED_CONTENT};
use text;
use traversal::PreorderFlowTraversal;
use unicode_bidi as bidi;
@@ -1649,8 +1649,6 @@ impl Flow for InlineFlow {
_ => {}
}
}
-
- self.base.restyle_damage.remove(REPOSITION)
}
fn update_late_computed_inline_position_if_necessary(&mut self, _: Au) {}