mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
18 lines
379 B
Rust
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 {}
|
|
}
|
|
}
|