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
F13235913: D21439.id51018.diff
Tue, May 21, 7:06 AM
F13212138: D21439.diff
Fri, May 17, 6:25 AM
F13198945: D21439.id51018.diff
Mon, May 13, 10:32 AM
F13198674: D21439.id51017.diff
Mon, May 13, 8:42 AM
F13198500: D21439.id.diff
Mon, May 13, 7:19 AM
F13195729: D21439.diff
Sun, May 12, 10:35 PM
F13182086: D21439.diff
Thu, May 9, 7:34 PM
F13179691: D21439.diff
Wed, May 8, 9:22 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