1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use super::*;

#[derive(Default, Debug)]
pub struct LayoutDataForElement {
    pub self_box: Option<LayoutBox>,
    pub pseudo_elements: Option<Box<PseudoElementBoxes>>,
}

#[derive(Default, Debug)]
pub struct PseudoElementBoxes {
    pub before: Option<LayoutBox>,
    pub after: Option<LayoutBox>,
}

#[derive(Debug)]
pub enum LayoutBox {
    DisplayContents,
    BlockLevel(Arc<BlockLevelBox>),
    InlineLevel(Arc<InlineLevelBox>),
}