summaryrefslogtreecommitdiffstats
path: root/devtools/client/inspector/fonts/test/doc_browser_fontinspector.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /devtools/client/inspector/fonts/test/doc_browser_fontinspector.html
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/inspector/fonts/test/doc_browser_fontinspector.html')
-rw-r--r--devtools/client/inspector/fonts/test/doc_browser_fontinspector.html67
1 files changed, 67 insertions, 0 deletions
diff --git a/devtools/client/inspector/fonts/test/doc_browser_fontinspector.html b/devtools/client/inspector/fonts/test/doc_browser_fontinspector.html
new file mode 100644
index 0000000000..27e24e2fd0
--- /dev/null
+++ b/devtools/client/inspector/fonts/test/doc_browser_fontinspector.html
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+
+<style>
+ @font-face {
+ font-family: bar;
+ src: url(bad/font/name.ttf), url(ostrich-regular.ttf) format("truetype");
+ }
+ @font-face {
+ font-family: barnormal;
+ font-weight: normal;
+ src: url(ostrich-regular.ttf);
+ }
+ @font-face {
+ font-family: bar;
+ font-weight: bold;
+ src: url(ostrich-black.ttf);
+ }
+ @font-face {
+ font-family: bar;
+ font-weight: 800;
+ src: url(ostrich-black.ttf);
+ }
+ body{
+ /* Arial doesn't exist on Linux. Liberation Sans is the default sans-serif there. */
+ font-family:Arial, "Liberation Sans";
+ font-size: 36px;
+ }
+ div {
+ font-size: 1em;
+ font-family:bar, "Missing Family", sans-serif;
+ }
+ .normal-text {
+ font-family: barnormal;
+ font-weight: normal;
+ }
+ .bold-text {
+ font-family: bar;
+ font-weight: bold;
+ font-size: inherit;
+ }
+ .black-text {
+ font-family: bar;
+ font-weight: 800;
+ }
+ .viewport-size {
+ font-size: 10vw;
+ }
+ .input-field {
+ font-family: bar;
+ font-size: 36px;
+ color: blue;
+ }
+</style>
+
+<body>
+ BODY
+ <div>DIV
+ <span class="nested-span">NESTED SPAN</span>
+ </div>
+ <iframe src="test_iframe.html"></iframe>
+ <div class="normal-text">NORMAL DIV</div>
+ <div class="bold-text">BOLD DIV</div>
+ <div class="black-text">800 DIV</div>
+ <div class="empty"></div>
+ <div class="viewport-size">VIEWPORT SIZE</div>
+ <input class="input-field" value="Input text value"/>
+</body>