diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-18 13:22:53 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-18 13:22:53 +0100 |
commit | 0f67e7b22c103b0358917143be185900a2434bde (patch) | |
tree | a226f5d77844c02f1df7c1caef2f7111a8f3a897 | |
parent | 342f9429523f989f2c5e0d82093286de481c50d4 (diff) | |
download | uxp-0f67e7b22c103b0358917143be185900a2434bde.tar.gz |
Issue #1328 - Part 2: Change tests that require Courier New explicitly.
-rw-r--r-- | devtools/client/shared/test/helper_inplace_editor.js | 2 | ||||
-rw-r--r-- | dom/events/test/test_continuous_wheel_events.html | 2 | ||||
-rw-r--r-- | dom/tests/mochitest/chrome/queryCaretRectWin.html | 2 |
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 ec6b79e00d..9c53557e42 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 fc8c69390c..e1910afa9b 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 cd5a8ec64c..cb2fe78a13 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 */
|