Fix the monospace font so the screendiff tests work correctly

see b/34094769 for context

The webdriver tests don't choose a correct font when we specify "monospace". As a result, we don't render correctly pages that use monospace.

Here we instead explicitly reference a monospace font we know exists in the webdriver: Courier New.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=226233831
This commit is contained in:
guyben 2018-12-19 14:26:35 -08:00 committed by Michael Muller
parent 2cc4a9fb2f
commit 7ade0f0adb
2 changed files with 7 additions and 7 deletions

View file

@ -22,7 +22,7 @@ h1 {
}
pre {
font-family: monospace;
font-family: "Courier New", Courier, monospace;
white-space: pre-wrap;
}
@ -49,7 +49,7 @@ input[readonly], textarea[readonly] {
textarea {
margin-bottom: 1em;
font-family: monospace;
font-family: "Courier New", Courier, monospace;
font-size: 13px;
border: solid 1px #ddd;
}