Import files from Victor

fdb11f3e87
This commit is contained in:
Simon Sapin 2019-09-09 19:23:36 +02:00 committed by Anthony Ramine
parent be0e84b30f
commit 86904757e6
12 changed files with 2728 additions and 0 deletions

View file

@ -0,0 +1,19 @@
use super::*;
#[derive(Default)]
pub(crate) struct LayoutDataForElement {
pub(super) self_box: Option<LayoutBox>,
pub(super) pseudo_elements: Option<Box<PseudoElementBoxes>>,
}
#[derive(Default)]
pub(super) struct PseudoElementBoxes {
pub before: Option<LayoutBox>,
pub after: Option<LayoutBox>,
}
pub(super) enum LayoutBox {
DisplayContents,
BlockLevel(Arc<BlockLevelBox>),
InlineLevel(Arc<InlineLevelBox>),
}