From 6f39e7869b5dfe6a76b00ed5083c6a4d3049b709 Mon Sep 17 00:00:00 2001
From: Adrian Heine <mail@adrianheine.de>
Date: Mon, 16 Jan 2017 10:40:29 +0100
Subject: [PATCH] Work around Firefox > 50 in tests

---
 test/test.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/test.js b/test/test.js
index 38659f87..c4941cfe 100644
--- a/test/test.js
+++ b/test/test.js
@@ -2216,6 +2216,8 @@ function makeItWrapAfter(cm, pos) {
     cm.setSize(w);
     posTop = cm.charCoords(pos).top;
   }
+  // Firefox > 50 compresses a space when two spaces from different bidi spans meet
+  cm.setSize(w + 10);
 }
 
 function testMoveBidi(str) {
-- 
GitLab