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)
Thu, Jun 5, 5:03 PM
Unknown Object (File)
Tue, Jun 3, 5:17 PM
Unknown Object (File)
Mon, Jun 2, 12:46 PM
Unknown Object (File)
May 9 2025, 3:33 PM
Unknown Object (File)
May 2 2025, 6:36 PM
Unknown Object (File)
Mar 26 2025, 10:23 PM
Unknown Object (File)
Mar 26 2025, 10:48 AM
Unknown Object (File)
Mar 25 2025, 7:21 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