Skip to main content

MIN_BLOCK_LH

Constant MIN_BLOCK_LH 

Source
pub const MIN_BLOCK_LH: f32 = 1.0;
Expand description

A block never draws thinner than this, however extreme its aspect ratio.

A 10000×1 rule would otherwise resolve to a fraction of a line-height and be invisible while still consuming a row — the “it silently did nothing” failure that media_block_rows clamps against on the row side.