Skip to content

Commit

Permalink
Stop using LocalClip::RoundedRect
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mrobinson committed Mar 6, 2018
1 parent 226d9a5 commit e100a72
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 120 deletions.
8 changes: 0 additions & 8 deletions components/layout/block.rs
Expand Up @@ -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,
}

0 comments on commit e100a72

Please sign in to comment.