summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-transform/opentype-small-caps-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text-transform/opentype-small-caps-1-ref.html')
-rw-r--r--layout/reftests/text-transform/opentype-small-caps-1-ref.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/text-transform/opentype-small-caps-1-ref.html b/layout/reftests/text-transform/opentype-small-caps-1-ref.html
new file mode 100644
index 0000000000..ead0ecec88
--- /dev/null
+++ b/layout/reftests/text-transform/opentype-small-caps-1-ref.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+/* load a font that supports the OpenType 'smcp' feature */
+@font-face {
+ font-family: test;
+ src: url(../fonts/LinLibertine_Re-4.7.5.woff);
+}
+body {
+ font: 100px test;
+}
+div {
+ font-feature-settings: 'smcp' on;
+}
+</style>
+</head>
+<body>
+<div>Small Caps
+</body>
+</html>