summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/fonts/font-size-117.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/fonts/font-size-117.xht')
-rw-r--r--testing/web-platform/tests/css/CSS2/fonts/font-size-117.xht41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/fonts/font-size-117.xht b/testing/web-platform/tests/css/CSS2/fonts/font-size-117.xht
new file mode 100644
index 0000000000..77d46c8d11
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/fonts/font-size-117.xht
@@ -0,0 +1,41 @@
+<!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-sizes in pixels compared to images in pixels</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/size/007.html" type="text/html"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props" />
+ <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-size-prop"/>
+ <style type="text/css">
+ p { color: navy; }
+ span { color: silver; }
+ .a { font: 10px Arial, sans-serif; }
+ .b { font: 20px Arial, sans-serif; }
+ .c { font: 30px Arial, sans-serif; }
+ .a img { height: 10px; }
+ .b img { height: 20px; }
+ .c img { height: 30px; }
+ </style>
+ </head>
+ <body>
+
+ <p class="a">The box X<img src="support/1x1-navy.png"
+ alt="[FAIL]"/>X should be taller than the Xs on either side of
+ it. <span>xxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
+ xxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx
+ xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx</span></p>
+
+ <p class="b">The box X<img src="support/1x1-navy.png"
+ alt="[FAIL]"/>X should be taller than the Xs on either side of
+ it. <span>xxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
+ xxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx
+ xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx</span></p>
+
+ <p class="c">The box X<img src="support/1x1-navy.png"
+ alt="[FAIL]"/>X should be taller than the Xs on either side of
+ it. <span>xxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
+ xxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx
+ xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx</span></p>
+
+ </body>
+</html>