aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index 79ab2fc2c07..3b4bd29a66b 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -676,12 +676,6 @@ bitflags! {
}
}
-// NB: If you update this field, you must update the the floated descendants flags.
-/// The bitmask of flags that represent the `has_left_floated_descendants` and
-/// `has_right_floated_descendants` fields.
-
-static HAS_FLOATED_DESCENDANTS_BITMASK: FlowFlags = FlowFlags { bits: 0b0000_0011 };
-
/// The number of bits we must shift off to handle the text alignment field.
///
/// NB: If you update this, update `TEXT_ALIGN` above.
@@ -700,11 +694,6 @@ impl FlowFlags {
}
#[inline]
- pub fn union_floated_descendants_flags(&mut self, other: FlowFlags) {
- self.insert(other & HAS_FLOATED_DESCENDANTS_BITMASK);
- }
-
- #[inline]
pub fn float_kind(&self) -> float::T {
if self.contains(FLOATS_LEFT) {
float::T::left