height property
double?
get
height
LineBox.height: A NUMBER'S LINE IS CUT DOWN ONTO BLINK'S GRID, NOT
ROUNDED. Blink keeps line-height: 1.25 as a percentage of the font
size in a float, and lays the line out at the size -- rounded onto the
1/64 grid -- times it, over 100, each step in floats, the product cut
down onto the grid (LayoutUnit(float) truncates;
ComputedStyle::ComputedLineHeightAsFixed). Under a size that follows
the window, clamp(22px, 0.227vw + 21.274px, 24px) at 390 is 22.159
and 1.25 of it 27.699: 27.6875 in Blink, where rounded it was
27.703125, every line of a heading a 64th taller than Chrome's and the
page under it lower by as much (linebox_number_line_test). The size
is the child's own text's, as the line is the text's.
Implementation
double? get height => _height;
set
height
(double? v)
Implementation
set height(double? v) {
if (v == _height) return;
_height = v;
markNeedsLayout();
}