diff options
author | Martin Robinson <mrobinson@igalia.com> | 2018-03-06 14:54:38 +0100 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2018-03-06 21:26:22 +0100 |
commit | e100a7212224a4dc3558ec2a0824e5168bbe7a27 (patch) | |
tree | e7eb0f3b254699a25ad60a1697a6523dd5eae596 /components/layout/block.rs | |
parent | 226d9a5b0e69185b95c62e79b81044beba477654 (diff) | |
download | servo-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.rs | 8 |
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, -} |