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
F13080660: D21439.diff
Wed, Apr 24, 9:41 AM
Unknown Object (File)
Thu, Apr 18, 6:22 PM
Unknown Object (File)
Mon, Apr 8, 2:27 PM
Unknown Object (File)
Wed, Mar 27, 2:00 AM
Unknown Object (File)
Mar 10 2024, 7:34 PM
Unknown Object (File)
Feb 22 2024, 7:31 AM
Unknown Object (File)
Dec 27 2023, 1:35 PM
Unknown Object (File)
Dec 27 2023, 4:19 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