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