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
F19083349: D21370.id50864.diff
Tue, Dec 2, 12:34 PM
F19009585: D21370.diff
Fri, Nov 21, 11:47 PM
F18993518: D21370.id50863.diff
Wed, Nov 19, 8:10 AM
F18885113: D21370.diff
Nov 7 2025, 2:40 AM
F18807613: D21370.id.diff
Oct 19 2025, 2:34 AM
F18807246: D21370.diff
Oct 19 2025, 12:04 AM
F18770617: D21370.id.diff
Oct 8 2025, 1:43 PM
F18734321: D21370.id.diff
Sep 30 2025, 10:52 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