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
Mar 25 2025, 7:21 PM
F15431665: D21439.diff
Mar 24 2025, 1:50 PM
F15383772: D21439.id51017.diff
Mar 14 2025, 5:53 PM
F15353444: D21439.diff
Mar 10 2025, 10:00 PM
F15333372: D21439.diff
Mar 8 2025, 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
Branch
print1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24832
Build 34259: Run Core Tests
Build 34258: arc lint + arc unit