3. Using @font-face instead of AHEM font installation.
+4. alternates-order.html
+change comes from https://github.com/web-platform-tests/wpt/blob/master/css/css-fonts/
+
These tests are copyright by W3C and/or the author listed in the test
file. The tests are dual-licensed under the W3C Test Suite License:
http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
<head>
<title>CSS Test: feature value matching for font-variant-alternates</title>
<link rel="author" title="John Daggett" href="mailto:jdaggett@mozilla.com"/>
-<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-variant-alternates-prop"/>
-<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-feature-values"/>
+<link rel="help" href="http://www.w3.org/TR/css-fonts-4/#font-variant-alternates-prop"/>
+<link rel="help" href="http://www.w3.org/TR/css-fonts-4/#font-feature-values"/>
<link rel="match" href="alternates-order-ref.html"/>
-<meta name="flags" content=""/>
+
<meta name="assert" content="Case and order of font family name or feature name should not affect alternate rendered"/>
<style type="text/css">
@font-face {
}
#test2 {
- /* testing case-insensitivity of styleset name */
+ /* testing case-sensitivity of styleset name */
font-family: fontB;
font-variant-alternates: styleset(altW);
}
#test3 {
- /* testing case-insensitivity of styleset name */
+ /* testing case-sensitivity of styleset name */
font-family: fontB;
font-variant-alternates: styleset(ALTW);
}
#test4 {
/* testing escapes in styleset name */
font-family: fontB;
- font-variant-alternates: styleset(\41 ltW);
+ font-variant-alternates: styleset(\41 lTw);
}
#test5 {
/* testing one feature doesn't affect another */
font-variant-alternates: styleset(somethingElse);
-moz-font-feature-settings: "ss05" on;
+ font-feature-settings: "ss05" on;
}
#test7 {
font-family: fontA;
font-variant-alternates: styleset(scriptJ);
-moz-font-feature-settings: "ss06";
+ font-feature-settings: "ss06";
}
#test8 {
<div><span id="test1">W</span> <span id="test2">W</span> <span id="test3">W</span></div>
<div><span id="test4">W</span> <span id="test5">W</span> <span id="test6">W</span></div>
<div><span id="test7">W</span> <span id="test8">W</span> <span id="test9">W</span></div>
- <p>Test passes if all the above letter 'W' are in the same font.</p>
</body>
-</html>
+</html>
\ No newline at end of file