| Index: third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html b/third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cb49b8acc483d5b54988e49c4a2b7bad3c60b6eb
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html
|
| @@ -0,0 +1,36 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="utf-8">
|
| +<style>
|
| + @font-face {
|
| + font-family: variabletest_box;
|
| + src: url(../../../http/tests/resources/variabletest_box.ttf);
|
| + }
|
| +
|
| + body {
|
| + font-family: variabletest_box, sans-serif;
|
| + sans-serif;
|
| + font-size: 100px;
|
| + }
|
| +
|
| + .gpos_m2b_left {
|
| + font-variation-settings: "VM2B" 0;
|
| + }
|
| +
|
| + .gpos_m2b_middle {
|
| + font-variation-settings: "VM2B" 500;
|
| + }
|
| +
|
| + .gpos_m2b_right {
|
| + font-variation-settings: "VM2B" 1000;
|
| + }
|
| +</style>
|
| +<!-- The variabletest_box font has an M glyph saying "m2b pos" that combines
|
| + with the combining box below. And it has a glyph for combining box below
|
| + whose mark anchor can be shifted horizontally using the VM2B axis. The font
|
| + also has N and O glyphs which have fixed shifted base anchor points at the
|
| + middle and at the right position. In this ref test we compare whether
|
| + applying the VM2B axis works as expected and shifts the mark anchor point
|
| + left so that the combining mark is placed correctly at the middle and at
|
| + the right position. The VM2B rendering must be identical to the
|
| + conventional rendering with the fixed base anchor points. -->
|
| +<span class="gpos_m2b_left">M̻</span> <span class="gpos_m2b_middle">M̻</span> <span class="gpos_m2b_right">M̻</span>
|
|
|