Make some of layout_2020 private

This commit is contained in:
Simon Sapin 2019-10-04 17:51:05 +02:00
parent ec74204fa0
commit 1bb85ed05b
10 changed files with 43 additions and 41 deletions

View file

@ -123,7 +123,7 @@ struct BlockContainerBuilder<'dom, 'style, Node> {
}
impl BlockContainer {
pub(crate) fn construct<'dom, 'style>(
pub fn construct<'dom, 'style>(
context: &SharedStyleContext<'style>,
block_container_style: &Arc<ComputedValues>,
contents: NonReplacedContents<impl NodeExt<'dom>>,
@ -646,7 +646,7 @@ where
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum ContainsFloats {
pub(crate) enum ContainsFloats {
No,
Yes,
}