From 84b634a9a8907adc826ed076e4c422921550493a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 28 Sep 2017 05:19:20 +0200 Subject: [PATCH] docs/uidesign/monospace.html: Add textareas to the demo It seems that textareas have their own font-size set in Chrome (but not Firefox and other browsers), making them unaffected by this behavior. Change-Id: I811245ea26b4d90ad252fe8f6d2e096e27cb9073 --- docs/uidesign/monospace.html | 106 ++++++++++++++++++++++++++++++++++- 1 file changed, 104 insertions(+), 2 deletions(-) diff --git a/docs/uidesign/monospace.html b/docs/uidesign/monospace.html index f2b988e219..cdaf580aa5 100644 --- a/docs/uidesign/monospace.html +++ b/docs/uidesign/monospace.html @@ -2,16 +2,25 @@ @@ -33,45 +42,138 @@ font besides just "monospace", those browsers will no longer treat it as monospace and use 0.8 x 16px = 13px instead.

+Additionally, it seems that textareas have their own font-size set in Chrome +(but not Firefox and other browsers), making them unaffected by this behavior. +

+

Below are various rendering:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<pre><textarea>
 font-family: monospace;
 
+
+ +
 font-family: "Courier New";
 
+
+ +
 font-family: Courier;
 
+
+ +
 font-family: monospace, monospace;
 
+
+ +
 font-family: monospace, "Courier New";
 
+
+ +
 font-family: monospace, Courier;
 
+
+ +
 font-family: monospace, Verdana;
 
+
+ +
 font-family: monospace, DOESNOTEXISTREALLY;
 
+
+ +
-- 2.20.1