summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/variations/font-descriptor-range-reversed-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/variations/font-descriptor-range-reversed-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-fonts/variations/font-descriptor-range-reversed-ref.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/variations/font-descriptor-range-reversed-ref.html b/testing/web-platform/tests/css/css-fonts/variations/font-descriptor-range-reversed-ref.html
new file mode 100644
index 0000000000..fc2b7aca29
--- /dev/null
+++ b/testing/web-platform/tests/css/css-fonts/variations/font-descriptor-range-reversed-ref.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<title>CSS Reference</title>
+
+<style>
+@font-face {
+ font-family: TestWeight;
+ src: url(resources/csstest-weights-100-kerned.ttf);
+ font-weight: 200 300;
+}
+@font-face {
+ font-family: TestWeight;
+ src: url(resources/csstest-weights-900-kerned.ttf);
+ font-weight: 300 400;
+}
+@font-face {
+ font-family: TestStyle;
+ src: url(resources/csstest-weights-100-kerned.ttf);
+ font-style: oblique 20deg 30deg;
+}
+@font-face {
+ font-family: TestStyle;
+ src: url(resources/csstest-weights-900-kerned.ttf);
+ font-style: oblique 30deg 40deg;
+}
+@font-face {
+ font-family: TestStretch;
+ src: url(resources/csstest-weights-100-kerned.ttf);
+ font-stretch: 110% 120%;
+}
+@font-face {
+ font-family: TestStretch;
+ src: url(resources/csstest-weights-900-kerned.ttf);
+ font-stretch: 120% 130%;
+}
+</style>
+
+<p style="font-family: TestWeight; font-weight: 250;">A</p>
+<p style="font-family: TestStyle; font-style: oblique 25deg;">A</p>
+<p style="font-family: TestStretch; font-stretch: 115%;">A</p>