summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-transform/fake-small-caps-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text-transform/fake-small-caps-1.html')
-rw-r--r--layout/reftests/text-transform/fake-small-caps-1.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/text-transform/fake-small-caps-1.html b/layout/reftests/text-transform/fake-small-caps-1.html
new file mode 100644
index 0000000000..21d83c3636
--- /dev/null
+++ b/layout/reftests/text-transform/fake-small-caps-1.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+/* load a font that does NOT support the 'smcp' feature */
+@font-face {
+ font-family: test;
+ src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
+}
+body {
+ font: 100px test;
+}
+</style>
+</head>
+<body>
+<div style="font-variant:small-caps">Small Caps
+</body>
+</html>