author | Chris Lilley <chris@w3.org> |
Thu, 03 May 2018 22:30:34 +0000 | |
changeset 417331 | 60a5486dc1d04f773b73da2ba14e148f0db3cdcd |
parent 417330 | b83499fcfb6339c99b18654ecf957e180306218f |
child 417332 | 7fe3ccfc61938d47c44209e3b4e68b0410936203 |
push id | 103033 |
push user | james@hoppipolla.co.uk |
push date | Tue, 08 May 2018 14:56:44 +0000 |
treeherder | mozilla-inbound@8240a8e38db8 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1453680, 10446 |
milestone | 62.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -113896,16 +113896,28 @@ [ "/css/css-fonts/font-face-unicode-range-2-ref.html", "==" ] ], {} ] ], + "css/css-fonts/font-feature-settings-descriptor-01.html": [ + [ + "/css/css-fonts/font-feature-settings-descriptor-01.html", + [ + [ + "/css/css-fonts/font-feature-settings-descriptor-01-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-fonts/font-features-across-space-1.html": [ [ "/css/css-fonts/font-features-across-space-1.html", [ [ "/css/css-fonts/font-features-across-space-1-ref.html", "==" ] @@ -241783,16 +241795,21 @@ {} ] ], "css/css-fonts/font-family-name-ref.xht": [ [ {} ] ], + "css/css-fonts/font-feature-settings-descriptor-01-ref.html": [ + [ + {} + ] + ], "css/css-fonts/font-features-across-space-1-ref.html": [ [ {} ] ], "css/css-fonts/font-kerning-01-ref.html": [ [ {} @@ -499359,16 +499376,24 @@ "css/css-fonts/font-family-name-mixcase-ref.xht": [ "0812be1c5389f15e665e055233c2a36d5ae9002e", "support" ], "css/css-fonts/font-family-name-ref.xht": [ "6a46776acc325ad42993555d516c6a057d801df8", "support" ], + "css/css-fonts/font-feature-settings-descriptor-01-ref.html": [ + "04e058c647517729219ff890434eb8d2275eec25", + "support" + ], + "css/css-fonts/font-feature-settings-descriptor-01.html": [ + "c7af57927b99d476e80ffdbfaac06b42fb04b71a", + "reftest" + ], "css/css-fonts/font-feature-settings-serialization-001.html": [ "bf557e7f93663a36dab3ea358401b16c2e88811a", "testharness" ], "css/css-fonts/font-features-across-space-1-ref.html": [ "634ece1e252f1330479bafed49eb8aa2ecc99d94", "support" ],
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/font-feature-settings-descriptor-01-ref.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html lang="en"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> +<title>CSS Test: font-feature-settings descriptor</title> +<style> + @font-face { + font-family: fwf; + src: url(support/fonts/FontWithFancyFeatures.otf); + } + .test { + font-family: fwf; + font-size: 2.4em; + line-height: 1.1; + } +</style> + +<body> +<p>Test passes if the three lines below are identical, with eight check marks (✓). </p> +<section class="test"> + <p class="ref">AAAAAAAA</p> + <p class="ref">AAAAAAAA</p> + <p class="ref">AAAAAAAA</p> +</section>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/font-feature-settings-descriptor-01.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html lang="en"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> +<title>CSS Test: font-feature-settings descriptor</title> +<link rel="author" title="Chris Lilley" href="chris@w3.org"> +<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-rend-desc"> +<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop"> +<link rel="match" href="font-feature-settings-descriptor-01-ref.html"> +<meta name="assert" content="These descriptors define initial settings that apply when the font defined by an @font-face rule is rendered"> +<style> + @font-face { + font-family: fwf; + src: url(support/fonts/FontWithFancyFeatures.otf); + } + @font-face { + font-family: fwf2; + src: url(support/fonts/FontWithFancyFeatures.otf); + font-feature-settings: "liga" on, "clig" on, "calt" on, "hlig" on, "dlig" on, "onum" on, "smcp" on, "jp90" on; + } + .test { + font-family: fwf; + font-size: 2.4em; + line-height: 1.1; + } + .test>p.descriptor { + font-family: fwf2; + } + .property { + font-feature-settings: "liga" on, "clig" on, "calt" on, "hlig" on, "dlig" on, "onum" on, "smcp" on, "jp90" on; + } +</style> + +<body> +<p>Test passes if the three lines below are identical, with eight check marks (✓). </p> +<section class="test"> + <p class="descriptor">CDGFEJQa</p> + <p class="property">CDGFEJQa</p> + <p class="ref">AAAAAAAA</p> +</section> \ No newline at end of file