Page MenuHomePhabricator

When long monospaced character sequences appear in Remarkup tables, break rather than scrolling
ClosedPublic

Authored by epriestley on Jun 29 2020, 11:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 5:55 AM
Unknown Object (File)
Oct 1 2024, 10:39 PM
Unknown Object (File)
Sep 23 2024, 2:22 AM
Unknown Object (File)
Aug 28 2024, 11:02 AM
Unknown Object (File)
Aug 25 2024, 7:45 AM
Unknown Object (File)
Jul 26 2024, 12:30 PM
Unknown Object (File)
Jul 24 2024, 9:22 PM
Unknown Object (File)
Jul 24 2024, 5:14 PM
Subscribers
None

Details

Summary

Ref PHI1798. If you put an SSH public key in a table cell with monospaced formatting and then print the table, the cell scrolls and not all of the content appears in your physical printed document.

Generally, the current scrolling behavior for monospaced text seems never-desirable: I can't imagine any cases where we want the table cell to scroll. (There's more of an argument for complex cases where a table cell has, say, an embedded paste.)

Add line-break: anywhere to break monospaced text inside these cells.

Test Plan

In Safari, Firefox, and Chrome, viewed a |`MMMMM....`| table. Saw scrolling before and wrapping/breaking after.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable