зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1453680 [wpt PR 10446] - test the @font-face font feature settings descriptor (property already tested), a=testonly
Automatic update from web-platform-testsMerge pull request #10446 from w3c/ffs-descriptor test the @font-face font feature settings descriptor (property already tested) -- wpt-commits: f9924ae9ab71b715af273e50a9f7256bff8140e4 wpt-pr: 10446
This commit is contained in:
Родитель
dfc0d4c86e
Коммит
051bcf440a
|
@ -113901,6 +113901,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"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",
|
||||
|
@ -241788,6 +241800,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-fonts/font-feature-settings-descriptor-01-ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-fonts/font-features-across-space-1-ref.html": [
|
||||
[
|
||||
{}
|
||||
|
@ -499364,6 +499381,14 @@
|
|||
"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"
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
Загрузка…
Ссылка в новой задаче