beeegee
beeegee
## Description The chunked and non-chunked paths for streaming layout (`layoutNextLine`, `layoutNextLineRange`, and internal simple layout functions) contain multiple edge case bugs regarding how line starts are calculated when `whiteSpace`...
## Bug description `normalizeWhitespacePreWrap` in `src/analysis.ts` has a fast-path that runs a regex replace that **can never match**: ```typescript function normalizeWhitespacePreWrap(text: string): string { if (!/[\r\f]/.test(text)) return text.replace(/\r\n/g, '\n') //...
## Bug description `layout(prepare(""), maxWidth, lineHeight)` returns `{ lineCount: 0, height: 0 }` for an empty string. But a browser renders an empty block element at `lineHeight` height — the...
## Bug description `src/layout.test.ts` contains two **identical** test entries — same description string and same body — inside the `'prepare invariants'` describe block: ```typescript // line 585 test('isCJK covers the...