servo/components/layout_2020/flow/float.rs
2019-09-11 10:06:35 +02:00

18 lines
379 B
Rust

use super::*;
#[derive(Debug)]
pub(in crate::layout) struct FloatBox {
pub style: Arc<ComputedValues>,
pub contents: IndependentFormattingContext,
}
/// Data kept during layout about the floats in a given block formatting context.
pub(in crate::layout) struct FloatContext {
// TODO
}
impl FloatContext {
pub fn new() -> Self {
FloatContext {}
}
}