summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-features/font-variant-features.css
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/font-features/font-variant-features.css
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/font-features/font-variant-features.css')
-rw-r--r--layout/reftests/font-features/font-variant-features.css66
1 files changed, 66 insertions, 0 deletions
diff --git a/layout/reftests/font-features/font-variant-features.css b/layout/reftests/font-features/font-variant-features.css
new file mode 100644
index 000000000..2035cb458
--- /dev/null
+++ b/layout/reftests/font-features/font-variant-features.css
@@ -0,0 +1,66 @@
+body { margin: 10px; }
+
+@font-face {
+ font-family: gsub-test;
+ src: url(../fonts/gsubtest/gsubtest-lookup3.otf);
+}
+
+td.prop {
+ font-family: Menlo, monospace;
+ font-weight: normal;
+ text-align: left;
+ font-size: 80%;
+}
+
+td.features {
+ font-family: gsub-test;
+}
+
+.invalid {
+ color: red;
+}
+
+@font-feature-values gsub-test {
+ @styleset { ok-alt-a: 1 3 5; ok-alt-b: 19; }
+ @character-variant { ok-1: 78 2; }
+ @character-variant { ok-3: 23; }
+ @character-variant { not-good: 0 2; }
+ @annotation { ok-4: 1; }
+ @annotation { bogus-font-doesnt-support: 23; }
+ @annotation { circled: 1; }
+ @character-variant { multi-def: 4; }
+ @annotation { multi-def: 3; }
+ @styleset { multi-def2: 3 4 5; }
+ @styleset { MULTI-def2: 2 6; }
+ @styleset { out-of-bounds1: 0; out-of-bounds2: 100; }
+ @styleset { scope-test1: 23; scope-test2: 24 1 }
+ @character-variant { scope-test1: 24; scope-test2: 23 2 }
+ @character-variant { overlap1: 23 1; overlap2: 23 2 }
+}
+
+@font-feature-values bogus-family {
+ @styleset { bogus: 3 4 7; }
+}
+
+@font-feature-values GSUB-tEsT {
+ @styleset { mixed-case: 3 4 7; }
+}
+
+@font-feature-values gSuB-tEsT {
+ @styleset { 3blah: 1 3; }
+}
+
+@font-feature-values gSuB-tEsT {
+ @styleset { moxie: 14; }
+ @styleset { 3blah: 1; }
+}
+
+@font-feature-values gSUB-TeST {
+ @styleset { moxie2: 14; }
+ @bongo { blah: 1; }
+}
+
+@font-feature-values gSUB-TEst {
+ @bongo { blah2: 1; }
+ @styleset { moxie3: 14; }
+}