Browse Source
* test(textblock): cover fractional layout rounding A wrapped TextBlock with a fractional line height must retain every line when its desired height lands exactly on a fractional-scale pixel boundary. * fix(text): preserve lines at rounded fractional heights TextLayout treated a floating-point accumulation error as a MaxHeight overflow. Use the established tolerant comparison so a line that exactly fits its rounded layout bounds is retained. --------- Co-authored-by: Julien Lebosquain <julien@lebosquain.net>pull/21857/head
committed by
GitHub
2 changed files with 27 additions and 1 deletions
Loading…
Reference in new issue