mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Replace boolean parameters by a new ContentSizesRequest
enum
This commit is contained in:
parent
6763e7e4ae
commit
38e8fd1e99
6 changed files with 92 additions and 62 deletions
|
@ -14,6 +14,7 @@ use crate::geom;
|
|||
use crate::geom::flow_relative::Vec2;
|
||||
use crate::positioned::AbsolutelyPositionedBox;
|
||||
use crate::replaced::ReplacedContent;
|
||||
use crate::sizing::ContentSizesRequest;
|
||||
use crate::style_ext::{Direction, Display, DisplayGeneratingBox, DisplayInside, WritingMode};
|
||||
use crate::{ContainingBlock, DefiniteContainingBlock};
|
||||
use rayon::iter::{IntoParallelRefIterator, ParallelExtend, ParallelIterator};
|
||||
|
@ -83,7 +84,7 @@ fn construct_for_root_element<'dom>(
|
|||
style,
|
||||
display_inside,
|
||||
contents,
|
||||
/* request_content_sizes */ false,
|
||||
ContentSizesRequest::None,
|
||||
),
|
||||
))],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue