mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Remove unused LayerKind and LayerType enums.
This commit is contained in:
parent
6a1f7a717d
commit
8e12a11da9
1 changed files with 0 additions and 18 deletions
|
@ -44,24 +44,6 @@ const SPECIAL_STACKING_CONTEXT_ID_MASK: usize = 0xffff;
|
||||||
#[derive(Copy, Clone, RustcEncodable, Debug)]
|
#[derive(Copy, Clone, RustcEncodable, Debug)]
|
||||||
pub enum DevicePixel {}
|
pub enum DevicePixel {}
|
||||||
|
|
||||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
|
||||||
pub enum LayerKind {
|
|
||||||
NoTransform,
|
|
||||||
HasTransform,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Clone, PartialEq, Eq, Copy, Hash, Deserialize, Serialize, HeapSizeOf)]
|
|
||||||
pub enum LayerType {
|
|
||||||
/// A layer for the fragment body itself.
|
|
||||||
FragmentBody,
|
|
||||||
/// An extra layer created for a DOM fragments with overflow:scroll.
|
|
||||||
OverflowScroll,
|
|
||||||
/// A layer created to contain ::before pseudo-element content.
|
|
||||||
BeforePseudoContent,
|
|
||||||
/// A layer created to contain ::after pseudo-element content.
|
|
||||||
AfterPseudoContent,
|
|
||||||
}
|
|
||||||
|
|
||||||
/// The scrolling policy of a layer.
|
/// The scrolling policy of a layer.
|
||||||
#[derive(Clone, PartialEq, Eq, Copy, Deserialize, Serialize, Debug, HeapSizeOf)]
|
#[derive(Clone, PartialEq, Eq, Copy, Deserialize, Serialize, Debug, HeapSizeOf)]
|
||||||
pub enum ScrollPolicy {
|
pub enum ScrollPolicy {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue