summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-12-18 13:22:53 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-12-18 13:22:53 +0100
commit0f67e7b22c103b0358917143be185900a2434bde (patch)
treea226f5d77844c02f1df7c1caef2f7111a8f3a897
parent342f9429523f989f2c5e0d82093286de481c50d4 (diff)
downloadUXP-0f67e7b22c103b0358917143be185900a2434bde.tar
UXP-0f67e7b22c103b0358917143be185900a2434bde.tar.gz
UXP-0f67e7b22c103b0358917143be185900a2434bde.tar.lz
UXP-0f67e7b22c103b0358917143be185900a2434bde.tar.xz
UXP-0f67e7b22c103b0358917143be185900a2434bde.zip
Issue #1328 - Part 2: Change tests that require Courier New explicitly.
-rw-r--r--devtools/client/shared/test/helper_inplace_editor.js2
-rw-r--r--dom/events/test/test_continuous_wheel_events.html2
-rw-r--r--dom/tests/mochitest/chrome/queryCaretRectWin.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/devtools/client/shared/test/helper_inplace_editor.js b/devtools/client/shared/test/helper_inplace_editor.js
index ec6b79e00..9c53557e4 100644
--- a/devtools/client/shared/test/helper_inplace_editor.js
+++ b/devtools/client/shared/test/helper_inplace_editor.js
@@ -52,7 +52,7 @@ function createSpan(doc) {
span.style.display = "inline-block";
span.style.width = "100px";
span.style.border = "1px solid red";
- span.style.fontFamily = "monospace";
+ span.style.fontFamily = "Courier New";
div.style.height = "100%";
div.style.position = "absolute";
diff --git a/dom/events/test/test_continuous_wheel_events.html b/dom/events/test/test_continuous_wheel_events.html
index fc8c69390..e1910afa9 100644
--- a/dom/events/test/test_continuous_wheel_events.html
+++ b/dom/events/test/test_continuous_wheel_events.html
@@ -9,7 +9,7 @@
</head>
<body>
<p id="display"></p>
-<div id="scrollable" style="font-family:monospace; font-size: 18px; line-height: 1; overflow: auto; width: 200px; height: 200px;">
+<div id="scrollable" style="font-family:'Courier New'; font-size: 18px; line-height: 1; overflow: auto; width: 200px; height: 200px;">
<div id="scrolled" style="font-size: 64px; width: 5000px; height: 5000px;">
Tere is a lot of text. Tere is a lot of text. Tere is a lot of text. Tere is a lot of text. Tere is a lot of text.<br>
Tere is a lot of text. Tere is a lot of text. Tere is a lot of text. Tere is a lot of text. Tere is a lot of text.<br>
diff --git a/dom/tests/mochitest/chrome/queryCaretRectWin.html b/dom/tests/mochitest/chrome/queryCaretRectWin.html
index cd5a8ec64..cb2fe78a1 100644
--- a/dom/tests/mochitest/chrome/queryCaretRectWin.html
+++ b/dom/tests/mochitest/chrome/queryCaretRectWin.html
@@ -20,7 +20,7 @@
left: 0em;
top: 0em;
font-size: 10pt;
- font-family: monospace;
+ font-family: 'Courier New';
line-height: 20px;
letter-spacing: 0px;
margin-top:-1px; /* nix the text area border */