4 /* FeatureTest.ttf is a small font for testing OpenType features.
6 * - The black box glyph which is associated with 'W', 'e', 'b', 'K', 'i' and 't'.
7 * - A discretionary ligature glyph of 'WebKit'.
10 src: url(resources/FeatureTest.ttf);
14 -webkit-font-feature-settings: 'dlig';
18 -webkit-font-feature-settings: 'dlig'
0;
25 if (window
.testRunner
)
26 window
.testRunner
.waitUntilDone();
29 document
.body
.offsetTop
;
30 if (window
.testRunner
)
31 testRunner
.notifyDone();
35 <body onload=
"setTimeout(test, 300)">
36 <p>Test for font-feature-settings property. The first word of the following three words should be displayed like
"WebKit", while others should be displayed as black boxes.
</p>
37 <div class=
"dligOn">WebKit
</div>
38 <div class=
"dligOff">WebKit
</div>
39 <div class=
"dligNone">WebKit
</div>