From 8e32c17e856859b5724df5fc7345df57589cf84d Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Mon, 10 Aug 2020 18:31:07 +0200 Subject: [PATCH] Set `direction: ltr;` on the canvases used during printing (bug 1335712) This essentially mirrors the CSS rules used for the viewer itself, see `web/pdf_viewer.css`, and according to my very quick tests it seems to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1335712 --- web/viewer.css | 1 + 1 file changed, 1 insertion(+) diff --git a/web/viewer.css b/web/viewer.css index c33e5674b..4961df400 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -1800,6 +1800,7 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { } #printContainer canvas, #printContainer img { + direction: ltr; display: block; } }