summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-features/small-caps-missing-capital-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/font-features/small-caps-missing-capital-ref.html')
-rw-r--r--layout/reftests/font-features/small-caps-missing-capital-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/font-features/small-caps-missing-capital-ref.html b/layout/reftests/font-features/small-caps-missing-capital-ref.html
new file mode 100644
index 0000000000..b27620f77e
--- /dev/null
+++ b/layout/reftests/font-features/small-caps-missing-capital-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<style>
+@font-face {
+ font-family: test;
+ /* A font that supports the π symbol, but does not have a capital PI;
+ and supports the µ sign, but does not have a capital MU. */
+ src: url(../fonts/Prototype.ttf);
+}
+.test {
+ font-family: test;
+ font-size: 24px;
+ font-variant: small-caps;
+}
+</style>
+
+<p>The pi symbol must not be missing:</p>
+
+<p class=test><span style="font-variant:normal">π</span>-Test</p>
+
+<p>The micro sign µ must not be missing:</p>
+
+<p class=test>Is <span style="font-variant:normal">10µs</span> the same as 10ms?</p>