summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/css1/c525-font-wt-000.xht
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 /testing/web-platform/tests/css/CSS2/css1/c525-font-wt-000.xht
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 'testing/web-platform/tests/css/CSS2/css1/c525-font-wt-000.xht')
-rw-r--r--testing/web-platform/tests/css/CSS2/css1/c525-font-wt-000.xht57
1 files changed, 57 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/css1/c525-font-wt-000.xht b/testing/web-platform/tests/css/CSS2/css1/c525-font-wt-000.xht
new file mode 100644
index 0000000000..65e4fe91e8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css1/c525-font-wt-000.xht
@@ -0,0 +1,57 @@
+<!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 Test: font-weight</title>
+ <link rel="help" href="http://www.w3.org/TR/REC-CSS1#font-weight"/>
+ <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
+ <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <style type="text/css"><![CDATA[
+ p { margin: 0.5em 0; }
+ p, h4 { color: navy; }
+ .bold {font-weight: bold;}
+ .bolder {font-weight: bolder;}
+ b {font-weight: lighter;}
+ .normal { font-weight: normal; }
+
+ .one { font-weight: 100; }
+ .two { font-weight: 200; }
+ .three { font-weight: 300; }
+ .four { font-weight: 400; }
+ .five { font-weight: 500; }
+ .six { font-weight: 600; }
+ .seven { font-weight: 700; }
+ .eight { font-weight: 800; }
+ .nine { font-weight: 900; }
+ ]]></style>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-boldness" title="15.6 Font boldness: the 'font-weight' property"/>
+ <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-weight-prop" />
+ </head>
+ <body>
+ <p>This sentence is normal. </p>
+ <p class="normal">This sentence should also be normal.</p>
+ <p class="four">This sentence should also be normal.</p>
+ <p class="bolder"> This sentence should be bolder than normal. </p>
+ <p class="bold"> This sentence should be bold. </p>
+ <h4> Whatever this line looks like... </h4>
+ <h4 class="bolder"> ...this line should look bolder (or the same).</h4>
+ <p> <b>This sentence should be lighter than normal (or the same).</b> </p>
+ <p class="bold">
+ This sentence should be bold.
+ <span class="normal"> This sentence should be normal.</span>
+ </p>
+
+ <hr/>
+
+ <p>For the following nine lines, each must be bolder or the same as the previous:</p>
+ <p class="one">Line 1 (Lightest)</p>
+ <p class="two">Line 2</p>
+ <p class="three">Line 3</p>
+ <p class="four">Line 4 (Normal)</p>
+ <p class="five">Line 5</p>
+ <p class="six">Line 6</p>
+ <p class="seven">Line 7</p>
+ <p class="eight">Line 8</p>
+ <p class="nine">Line 9 (Boldest)</p>
+ </body>
+</html>