Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'

This commit is contained in:
WPT Sync Bot 2022-11-10 01:22:36 +00:00
parent ace9b32b1c
commit df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions

View file

@ -147,12 +147,12 @@
{ value: "italic 20deg", isValid: false, description: "'italic' followed by angle" },
{ value: "italic a", isValid: false, description: "Extra content after keyword" },
{ value: "oblique 0deg", isValid: true, description: "'oblique' followed by zero degrees" },
{ value: "oblique 20deg", isValid: true, expectedValue: "oblique", description: "'oblique' followed by default 20deg angle" },
{ value: "oblique 20deg", isValid: true, description: "'oblique' followed by former default 20deg angle" },
{ value: "oblique 90deg", isValid: true, description: "'oblique' followed by maxumum 90 degree angle" },
{ value: "oblique -90deg", isValid: true, description: "'oblique' followed by minimum -90 degree angle" },
{ value: "oblique calc(91deg)", isValid: true, expectedValue: "oblique 90deg", description: "'oblique' followed by calc with out of range value (should be clamped)" },
{ value: "oblique calc(-91deg)", isValid: true, expectedValue: "oblique -90deg", description: "'oblique' followed by calc with out of range value (should be clamped)" },
{ value: "oblique 0rad", isValid: true, expectedValue: "oblique 0deg", description: "'oblique' followed by angle in radians" },
{ value: "oblique calc(91deg)", isValid: true, description: "'oblique' followed by calc with out of range value (should be clamped)" },
{ value: "oblique calc(-91deg)", isValid: true, description: "'oblique' followed by calc with out of range value (should be clamped)" },
{ value: "oblique 0rad", isValid: true, expectedValue: "oblique 0deg", description: "'oblique' followed by angle in radians" },
{ value: "oblique 20", isValid: false, description: "'oblique' followed by unit-less number" },
{ value: "oblique 20px", isValid: false, description: "'oblique' followed by non-angle" },
{ value: "oblique a", isValid: false, description: "'oblique' followed by non-number" },
@ -163,7 +163,7 @@
// Value range
{ value: "oblique 10deg 20deg", isValid: true, description: "Simple range" },
{ value: "oblique 10deg 10deg", isValid: true, expectedValue: "oblique 10deg", description: "Simple range with equal upper and lower bounds" },
{ value: "oblique 20deg 20deg", isValid: true, expectedValue: "oblique", description: "Simple range with default angle for both bounds" },
{ value: "oblique 20deg 20deg", isValid: true, description: "Simple range with former default angle for both bounds" },
{ value: "oblique 20deg 10deg", isValid: true, expectedValue: "oblique 20deg 10deg", description: "Bounds out of order" },
{ value: "oblique -100deg 20deg", isValid: false, description: "Lower bound out of range" },
{ value: "oblique 20deg 100deg", isValid: false, description: "Upper bound out of range" },

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>CSS Test: Variable fonts with slant axis</title>
<style>
@font-face {
font-family: "slnt test font";
src: url('resources/FontStyleTest-slnt_backslant-VF.woff2');
font-style: oblique -15deg 15deg;
}
.test {
font-family: "slnt test font";
font-size: 3em;
}
.slnt14 {
font-variation-settings: 'slnt' -14;
}
.backslant14 {
font-variation-settings: 'slnt' 14;
}
</style>
<p class="test backslant14">varfont</p>
<p class="test slnt14">varfont</p>
<p class="test slnt14">varfont</p>
<p class="test">varfont</p>

View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>CSS Test: Variable fonts with slant axis</title>
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#descdef-font-face-font-variation-settings" />
<link rel="help" href="http://w3c.github.io/csswg-drafts/css-fonts-4/#valdef-font-style-oblique-angle-90deg-90deg" />
<link rel="match" href="slnt-backslant-variable-ref.html">
<meta name="assert"
content="For variable fonts, setting font-style to oblique or italic should apply forward and backward slant to variable axis.">
<!-- Fonts used in this test are authored by Stephen Nixon, more information in the link:
https://arrowtype.github.io/vf-slnt-test/index.html -->
<style>
@font-face {
font-family: "slnt test font";
src: url('resources/FontStyleTest-slnt_backslant-VF.woff2');
font-style: oblique -15deg 15deg;
}
.test {
font-family: "slnt test font";
font-size: 3em;
}
.backslant {
font-style: oblique -14deg;
}
.oblique {
font-style: oblique;
}
.italic {
font-style: italic;
}
</style>
<p class="test backslant">varfont</p>
<p class="test oblique">varfont</p>
<p class="test italic">varfont</p>
<p class="test">varfont</p>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>CSS Test: Variable fonts with slant axis</title>
<style>
@font-face {
font-family: "slnt test font";
src: url('resources/FontStyleTest-slnt-VF.woff2');
font-style: oblique 0deg 15deg;
}
.test {
font-family: "slnt test font";
font-size: 3em;
}
.slnt14 {
font-variation-settings: 'slnt' -14;
}
</style>
<p class="test slnt14">varfont</p>
<p class="test slnt14">varfont</p>
<p class="test">varfont</p>

View file

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>CSS Test: Variable fonts with slant axis</title>
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#descdef-font-face-font-variation-settings" />
<link rel="help" href="http://w3c.github.io/csswg-drafts/css-fonts-4/#valdef-font-style-oblique-angle-90deg-90deg" />
<link rel="match" href="slnt-variable-ref.html">
<meta name="assert"
content="For variable fonts, 'oblique' and 'italic' keywords should work equivalent to 14 degrees of slant">
<!-- Fonts used in this test are authored by Stephen Nixon, more information in the link:
https://arrowtype.github.io/vf-slnt-test/index.html -->
<style>
@font-face {
font-family: "slnt test font";
src: url('resources/FontStyleTest-slnt-VF.woff2');
font-style: oblique 0deg 15deg;
}
.test {
font-family: "slnt test font";
font-size: 3em;
}
.oblique {
font-style: oblique;
}
.italic {
font-style: italic;
}
</style>
<p class="test oblique">varfont</p>
<p class="test italic">varfont</p>
<p class="test">varfont</p>

View file

@ -30,7 +30,7 @@
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 check whether
middle and at the right position. In this reftest we check 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