mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make some of layout_2020 private
This commit is contained in:
parent
ec74204fa0
commit
1bb85ed05b
10 changed files with 43 additions and 41 deletions
|
@ -25,22 +25,24 @@ use style::Zero;
|
|||
mod construct;
|
||||
mod float;
|
||||
pub mod inline;
|
||||
pub mod root;
|
||||
mod root;
|
||||
|
||||
pub use root::BoxTreeRoot;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct BlockFormattingContext {
|
||||
pub(crate) struct BlockFormattingContext {
|
||||
pub contents: BlockContainer,
|
||||
pub contains_floats: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum BlockContainer {
|
||||
pub(crate) enum BlockContainer {
|
||||
BlockLevelBoxes(Vec<Arc<BlockLevelBox>>),
|
||||
InlineFormattingContext(InlineFormattingContext),
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum BlockLevelBox {
|
||||
pub(crate) enum BlockLevelBox {
|
||||
SameFormattingContextBlock {
|
||||
style: Arc<ComputedValues>,
|
||||
contents: BlockContainer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue