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
F15442255: D21439.id.diff
Wed, Mar 26, 10:23 PM
F15440031: D21439.id51018.diff
Wed, Mar 26, 10:48 AM
F15437424: D21439.id.diff
Tue, Mar 25, 7:21 PM
F15431665: D21439.diff
Mon, Mar 24, 1:50 PM
F15383772: D21439.id51017.diff
Fri, Mar 14, 5:53 PM
F15353444: D21439.diff
Mon, Mar 10, 10:00 PM
F15333372: D21439.diff
Sat, Mar 8, 2:04 AM
Unknown Object (File)
Feb 18 2025, 4:26 AM
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