Page MenuHomePhabricator

Remarkup tables should show all content when printed to PDF
Open, NormalPublic

Description

See PHI1798. This task discusses a table like this:

QuackAAAAA...

...which may not contain all content in the second cell when printed as a PDF.

Previously, D21370 attempted to fix this. There are two problems:

  1. It does not work in Chrome. Chrome continues to print a PDF with a scrollbar.
  2. It creates a minor issue with tables that instead look like this:
QuackAAAAA...

The "label" cell on the left may wrap, like this:

Screen Shot 2020-08-10 at 12.10.50 PM.png (138×1 px, 23 KB)

This is a less significant concern, but Phabricators internal documentation does this in at least some cases.

Revisions and Commits

Restricted Differential Revision

Event Timeline

epriestley triaged this task as Normal priority.Aug 11 2020, 5:17 PM
epriestley created this task.

Adding overflow-wrap: anywhere appears to fix this without breaking anything.

I'm unsure if this is a bug in Chrome or not. For now, I'm going to try just adding overflow-wrap: anywhere and see how far that takes us.

epriestley added a revision: Restricted Differential Revision.Sep 28 2020, 4:22 PM
epriestley added a commit: Restricted Diffusion Commit.Sep 28 2020, 4:47 PM