Review nits

This commit is contained in:
Simon Sapin 2019-12-04 14:18:25 +01:00
parent 607df04849
commit 6763e7e4ae
3 changed files with 7 additions and 9 deletions

View file

@ -307,7 +307,7 @@ impl<'a> AbsolutelyPositionedFragment<'a> {
Ok(replaced) => {
// FIXME: implement https://drafts.csswg.org/css2/visudet.html#abs-replaced-width
// and https://drafts.csswg.org/css2/visudet.html#abs-replaced-height
let block_size = block_size.auto_is(|| Length::zero());
let block_size = block_size.auto_is(Length::zero);
let fragments = replaced.make_fragments(
&self.absolutely_positioned_box.contents.style,
Vec2 {