summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml
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 /layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml
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 'layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml')
-rw-r--r--layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml61
1 files changed, 61 insertions, 0 deletions
diff --git a/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml b/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml
new file mode 100644
index 0000000000..a3dcdba69c
--- /dev/null
+++ b/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS 2.1: Font matching algorithm</title>
+ <link rel="author" title="L. David Baron" href="https://dbaron.org/" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#algorithm" />
+ <meta name="assert" content="That the 'UA-dependent default 'font-family'' described in step (5) does not vary based on the ancestor's font-family property." />
+ </head>
+ <body>
+
+<div style="font-family: Arial, Helvetica, sans-serif">
+ <div style="font-family: FontDoesNotExist">
+ Every line of text in this page should be in the same font.
+ </div>
+</div>
+
+<div style="font-family: Arial, Helvetica">
+ <div style="font-family: FontDoesNotExist">
+ Every line of text in this page should be in the same font.
+ </div>
+</div>
+
+<div style="font-family: Arial">
+ <div style="font-family: FontDoesNotExist">
+ Every line of text in this page should be in the same font.
+ </div>
+</div>
+
+<div style="font-family: Times New Roman, Times, serif">
+ <div style="font-family: FontDoesNotExist">
+ Every line of text in this page should be in the same font.
+ </div>
+</div>
+
+<div style="font-family: Times New Roman, Times">
+ <div style="font-family: FontDoesNotExist">
+ Every line of text in this page should be in the same font.
+ </div>
+</div>
+
+<div style="font-family: Times New Roman">
+ <div style="font-family: FontDoesNotExist">
+ Every line of text in this page should be in the same font.
+ </div>
+</div>
+
+<div style="font-family: Courier New, Courier, monospace">
+ <div style="font-family: FontDoesNotExist">
+ Every line of text in this page should be in the same font.
+ </div>
+</div>
+
+<div style="font-family: Verdana">
+ <div style="font-family: FontDoesNotExist">
+ Every line of text in this page should be in the same font.
+ </div>
+</div>
+
+ </body>
+</html>