mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add a request_content_sizes
parameter to IndependentFormattingContext::construct
This commit is contained in:
parent
2c124b9d0b
commit
cfdd23ac16
8 changed files with 101 additions and 52 deletions
|
@ -50,6 +50,7 @@ impl IndependentFormattingContext {
|
|||
style: Arc<ComputedValues>,
|
||||
display_inside: DisplayInside,
|
||||
contents: Contents<impl NodeExt<'dom>>,
|
||||
_request_content_sizes: bool, // Ignored for replaced content
|
||||
) -> Self {
|
||||
use self::IndependentFormattingContextContents as Contents;
|
||||
let contents = match contents.try_into() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue