Skip to content

fix(cli): honor text overflow opt-outs#2336

Open
miguel-heygen wants to merge 1 commit into
mainfrom
fix/ellipsis-layout-suppression
Open

fix(cli): honor text overflow opt-outs#2336
miguel-heygen wants to merge 1 commit into
mainfrom
fix/ellipsis-layout-suppression

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

Summary

  • suppress clipped_text, text_box_overflow, and text canvas overflow under data-layout-allow-overflow
  • honor documented per-element data-layout-bleed for intentional text crops
  • add regression coverage for CSS ellipsis truncation

Reproduction

Confirmed on published 0.7.56: intentional text-overflow: ellipsis emitted both clipped_text and text_box_overflow despite the documented opt-outs.

Tests

  • bun run --cwd packages/cli test src/commands/layout-audit.browser.test.ts
  • bun run --cwd packages/cli typecheck
  • pre-commit lint/format/fallow/typecheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant