Page MenuHomePhabricator

Coerce Chrome into breaking monospaced text when printing tables to PDFs
ClosedPublic

Authored by epriestley on Aug 11 2020, 5:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 9 2026, 1:36 AM
Unknown Object (File)
Apr 3 2026, 12:57 AM
Unknown Object (File)
Mar 8 2026, 6:33 PM
Unknown Object (File)
Jan 19 2026, 11:55 AM
Unknown Object (File)
Jan 19 2026, 11:54 AM
Unknown Object (File)
Nov 13 2025, 5:10 PM
Unknown Object (File)
Nov 9 2025, 7:27 AM
Unknown Object (File)
Oct 22 2025, 5:45 PM
Subscribers
None

Details

Summary

See T13564. In Chrome only, printing tables with a cell containing an unbroken monospaced text element fails to wrap/break the cell.

Adding "overflow-wrap" appears to fix this without making anything worse. Try this until new problems arise.

Test Plan

Printed such a table to PDF in Chrome, got wrapping with all content visible in the PDF.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable