Issue #1328 - Part 2: Change tests that require Courier New explicitly.

This commit is contained in:
wolfbeast
2019-12-18 13:22:53 +01:00
parent 342f942952
commit 0f67e7b22c
3 changed files with 3 additions and 3 deletions
@@ -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";
@@ -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>
@@ -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 */