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)
Sun, Dec 22, 1:34 AM
Unknown Object (File)
Sat, Dec 21, 8:53 AM
Unknown Object (File)
Tue, Dec 17, 8:15 AM
Unknown Object (File)
Mon, Dec 16, 9:00 AM
Unknown Object (File)
Sun, Dec 15, 2:45 PM
Unknown Object (File)
Tue, Dec 10, 2:59 PM
Unknown Object (File)
Thu, Dec 5, 7:56 AM
Unknown Object (File)
Wed, Dec 4, 9:24 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