mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
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.
This commit is contained in:
parent
226d9a5b0e
commit
e100a72122
2 changed files with 135 additions and 120 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue