mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Reinstate errors for unused variables and imports.
This commit is contained in:
parent
97e068b1c2
commit
e10206e91e
19 changed files with 36 additions and 8 deletions
|
@ -286,7 +286,7 @@ impl<'a, 'b> FlowConstructor<'a, 'b> {
|
|||
}
|
||||
|
||||
{
|
||||
let mut inline_flow = inline_flow_ref.get_mut().as_inline();
|
||||
let inline_flow = inline_flow_ref.get_mut().as_inline();
|
||||
let (ascent, descent) = inline_flow.compute_minimum_ascent_and_descent(self.layout_context.font_context(), &**node.style());
|
||||
inline_flow.minimum_block_size_above_baseline = ascent;
|
||||
inline_flow.minimum_depth_below_baseline = descent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue