aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/block.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2018-03-06 14:54:38 +0100
committerMartin Robinson <mrobinson@igalia.com>2018-03-06 21:26:22 +0100
commite100a7212224a4dc3558ec2a0824e5168bbe7a27 (patch)
treee7eb0f3b254699a25ad60a1697a6523dd5eae596 /components/layout/block.rs
parent226d9a5b0e69185b95c62e79b81044beba477654 (diff)
downloadservo-e100a7212224a4dc3558ec2a0824e5168bbe7a27.tar.gz
servo-e100a7212224a4dc3558ec2a0824e5168bbe7a27.zip
Stop using LocalClip::RoundedRect
We would like to remove this functionality from WebRender, so convert its use to clip scroll nodes. This change also removes the redundant BlocBlockStackingContextType in favor of Option<StackingContextType>, which is just as expressive. This simplifies the code a bit.
Diffstat (limited to 'components/layout/block.rs')
-rw-r--r--components/layout/block.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/components/layout/block.rs b/components/layout/block.rs
index d7505e7b8ba..225def73677 100644
--- a/components/layout/block.rs
+++ b/components/layout/block.rs
@@ -3109,11 +3109,3 @@ impl ISizeAndMarginsComputer for InlineFlexItem {
fragment.margin.inline_end)
}
}
-
-/// A stacking context, a pseudo-stacking context, or a non-stacking context.
-#[derive(Clone, Copy, PartialEq)]
-pub enum BlockStackingContextType {
- NonstackingContext,
- PseudoStackingContext,
- StackingContext,
-}