Toast wraps only between words (#434); time budgets for opacity and width specs (#442) #456

Closed
kayg wants to merge 0 commits from issue/434-442-small into dev
Owner

Closes #434
Closes #442

  • #434 The toast drew each letter as an inline-block span, and a line can break between any two of those, so "Trash" became "Tras / h". Letters are now grouped in nowrap word spans and overflow-wrap: anywhere is gone: lines break only at spaces. New spec a toast never breaks inside a word at 320, 360 and 375 px, light and dark (fails 4 of 6 before the fix). Screenshots on #434.
  • #442 opacity.spec.ts:62 loops four opacities in one test and compares them (strictly less see-through), so it can't be split without loosening that; it gets a 60 s budget with a comment, as bar-focus did in #421. No assertion changed.
  • width.spec "Width is in the Style sheet on wide windows only": a time budget problem too (six reopenings: 34 s at load ~40 on webkit-390, 36 s on webkit-1440, over 60 s once at load ~48). Got a 90 s budget with a comment.

Tests (--no-deps, toast-bar + opacity + width specs): chromium-390 17 passed 7 skipped, webkit-390 17 passed 7 skipped, webkit-1440 23 passed 1 skipped.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T

Closes #434 Closes #442 - **#434** The toast drew each letter as an `inline-block` span, and a line can break between any two of those, so "Trash" became "Tras / h". Letters are now grouped in `nowrap` word spans and `overflow-wrap: anywhere` is gone: lines break only at spaces. New spec `a toast never breaks inside a word` at 320, 360 and 375 px, light and dark (fails 4 of 6 before the fix). Screenshots on #434. - **#442** `opacity.spec.ts:62` loops four opacities in one test and compares them (strictly less see-through), so it can't be split without loosening that; it gets a 60 s budget with a comment, as `bar-focus` did in #421. No assertion changed. - **width.spec "Width is in the Style sheet on wide windows only"**: a time budget problem too (six reopenings: 34 s at load ~40 on webkit-390, 36 s on webkit-1440, over 60 s once at load ~48). Got a 90 s budget with a comment. Tests (`--no-deps`, toast-bar + opacity + width specs): chromium-390 17 passed 7 skipped, webkit-390 17 passed 7 skipped, webkit-1440 23 passed 1 skipped. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Toast wraps only between words (#434); give slow WebKit specs a time budget (#442)
Some checks failed
CI / server (pull_request) Successful in 21s
CI / rust (pull_request) Successful in 1m52s
CI / web (pull_request) Failing after 47m3s
27f2185bc2
Each toast letter is an inline-block, so a line could break after any letter. Letters are
now grouped in nowrap word spans. opacity.spec and width.spec got a longer time budget; no
assertion changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Author
Owner

Replaced by #458 (same change plus the side gutter fix).

Replaced by #458 (same change plus the side gutter fix).
kayg closed this pull request 2026-10-15 20:54:52 +00:00
Some checks failed
CI / server (pull_request) Successful in 21s
CI / rust (pull_request) Successful in 1m52s
CI / web (pull_request) Failing after 47m3s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!456
No description provided.