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
F18962546: D21439.diff
Nov 13 2025, 5:10 PM
F18915080: D21439.id.diff
Nov 9 2025, 7:27 AM
F18820900: D21439.id51017.diff
Oct 22 2025, 5:45 PM
F18616377: D21439.id.diff
Sep 14 2025, 5:19 PM
F18601594: D21439.diff
Sep 13 2025, 12:56 PM
F18571196: D21439.id51018.diff
Sep 10 2025, 4:48 AM
F18571195: D21439.id51017.diff
Sep 10 2025, 4:48 AM
F18141163: D21439.id51018.diff
Aug 14 2025, 6:13 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