Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'

This commit is contained in:
WPT Sync Bot 2021-09-07 11:16:33 +00:00 committed by cybai
parent 35e95f55a1
commit 58e8ee674b
9438 changed files with 266112 additions and 106976 deletions

View file

@ -0,0 +1,14 @@
<!doctype html>
<link rel=author href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel=author href="https://mozilla.org" title="Mozilla">
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/6156">
<title>text-justify: distribute is a parse-time alias of inter-character</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
let style = document.createElement("div").style;
style.textJustify = "distribute";
assert_equals(style.textJustify, "inter-character");
});
</script>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>test reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<style>
div {
width: 7ch;
font: 20px monospace;
background: blue;
}
span {
background: green;
}
</style>
<p>Test passes if we have XX at each edge of the blue box and XXX in the second line (left-edge trailing space if not removed)</p>
<div><span>XX&nbsp;&nbsp;&nbsp;XX&nbsp;<br>XXX</span></div>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>test reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<style>
div {
width: 7ch;
font: 20px monospace;
background: blue;
margin-left: 20px;
direction: rtl;
}
span {
background: green;
}
</style>
<p>Test passes if we have XX at each edge of the blue box and XXX in the second line (left-edge trailing space if not removed)</p>
<div><span>XX&nbsp;&nbsp;&nbsp;XX&nbsp;<br>XXX</span></div>

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>test reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<style>
@font-face {
font-family: 'ezra_silregular';
src: url('/fonts/sileot-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
div {
font-family: ezra_silregular, monospace;
font-size: 15px;
}
</style>
<p>Test passes if we have a first line with hebrew justified and XXX in the second line (left-edge trailing space if not removed)</p>
<div style="position: relative; width: 20px;">
<div style="display: inline; background: green; position: absolute; right: 0px;">&nbsp;</div>
</div>
<div style="position: relative; margin-left: 20px; width: 70px;">
<div style="float: right; background: green;">הם</div>
<div style="background: green;">דה<br></div>
</div>
<div style="position: relative; margin-left: 20px; background: blue; width: 70px; direction: rtl;">
<div style="display: inline; background: green; ">XXX</div>
</div>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>test reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<style>
div {
width: 7ch;
font: 20px monospace;
background: blue;
}
span {
background: green;
}
</style>
<p>Test passes if we have XX at each edge of the blue box and XXX in the second line (left-edge trailing space if not removed)</p>
<div><span>XX&nbsp;&nbsp;&nbsp;XX<br>XXX</span></div>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>test reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<style>
div {
width: 7ch;
font: 20px monospace;
background: blue;
margin-left: 20px;
direction: rtl;
}
span {
background: green;
}
</style>
<p>Test passes if we have XX at each edge of the blue box and XXX in the second line (left-edge trailing space if not removed)</p>
<div><span>XX&nbsp;&nbsp;&nbsp;XX<br>XXX</span></div>

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>test reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<style>
@font-face {
font-family: 'ezra_silregular';
src: url('/fonts/sileot-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
div {
font-family: ezra_silregular, monospace;
font-size: 15px;
}
</style>
<p>Test passes if we have a first line with hebrew justified and XXX in the second line (left-edge trailing space if not removed)</p>
<div style="position: relative; margin-left: 20px; width: 70px;">
<div style="float: right; background: green;">הם</div>
<div style="background: green;">דה<br></div>
</div>
<div style="position: relative; margin-left: 20px; background: blue; width: 70px; direction: rtl;">
<div style="display: inline; background: green; ">XXX</div>
</div>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>CSS text tests: How trailing spaces affect text-justify </title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-justify-property'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-001-ref.html'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-alt-001-ref.html'>
<meta name="assert" content="The text in the first line is correctly justified, leaving aside the trailing space, which must hang or be removed.">
<style>
.test {
width: 7ch;
font: 20px monospace;
background: blue;
white-space: pre-wrap;
text-align: justify;
}
.test > span {
background: green;;
}
</style>
<p>Test passes if we have XX at each edge of the blue box and XXX in the second line (left-edge trailing space if not removed)</p>
<div class="test"><span>XX XX </span><span>XXX</span></div>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>CSS text tests: How trailing spaces affect text-justify </title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-justify-property'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-001-ref.html'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-alt-001-ref.html'>
<meta name="assert" content="The text in the first line is correctly justified, leaving aside the trailing space, which must hang or be removed.">
<style>
.test {
width: 7ch;
font: 20px monospace;
background: blue;
white-space: pre-wrap;
text-align: justify;
}
.test > span {
background: green;;
}
</style>
<p>Test passes if we have XX at each edge of the blue box and XXX in the second line (left-edge trailing space if not removed)</p>
<div class="test"><span>XX XX XXX</span></div>

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>CSS text tests: How trailing spaces affect text-justify </title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-justify-property'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-003-ref.html'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-alt-003-ref.html'>
<meta name="assert" content="The RTL text in the first line is correctly justified, leaving aside the trailing space, which must hang or be removed.">
<style>
.test {
width: 7ch;
font: 20px monospace;
background: blue;
margin-left: 20px;
direction: rtl;
white-space: pre-wrap;
text-align: justify;
}
.test > span {
background: green;;
}
</style>
<p>Test passes if we have XX at each edge of the blue box and XXX in the second line (left-edge trailing space if not removed)</p>
<div class="test"><span>XX XX </span><span>XXX</span></div>

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>CSS text tests: How trailing spaces affect text-justify </title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-justify-property'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-003-ref.html'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-alt-003-ref.html'>
<meta name="assert" content="The RTL text in the first line is correctly justified, leaving aside the trailing space, which must hang or be removed.">
<style>
.test {
width: 7ch;
font: 20px monospace;
background: blue;
margin-left: 20px;
direction: rtl;
white-space: pre-wrap;
text-align: justify;
}
.test > span {
background: green;;
}
</style>
<p>Test passes if we have XX at each edge of the blue box and XXX in the second line (left-edge trailing space if not removed)</p>
<div class="test"><span>XX XX XXX</span></div>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>CSS text tests: How trailing spaces affect text-justify </title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-justify-property'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-005-ref.html'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-alt-005-ref.html'>
<meta name="assert" content="The RTL text in the first line is correctly justified, leaving aside the trailing space, which must hang or be removed.">
<style>
@font-face {
font-family: 'ezra_silregular';
src: url('/fonts/sileot-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.test {
width: 70px;
font-family: ezra_silregular, monospace;
font-size: 15px;
background: blue;
margin-left: 20px;
direction: rtl;
white-space: pre-wrap;
text-align: justify;
}
.test > span {
background: green;;
}
</style>
<p>Test passes if we have a first line with hebrew justified and XXX in the second line (left-edge trailing space if not removed)</p>
<div class="test"><span>הם דה </span><span>XXX</span></div>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>CSS text tests: How trailing spaces affect text-justify </title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-justify-property'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-005-ref.html'>
<link rel='match' href='reference/text-justify-and-trailing-spaces-alt-005-ref.html'>
<meta name="assert" content="The RTL text in the first line is correctly justified, leaving aside the trailing space, which must hang or be removed.">
<style>
@font-face {
font-family: 'ezra_silregular';
src: url('/fonts/sileot-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.test {
width: 70px;
font-family: ezra_silregular, monospace;
font-size: 15px;
background: blue;
margin-left: 20px;
direction: rtl;
white-space: pre-wrap;
text-align: justify;
}
.test > span {
background: green;;
}
</style>
<p>Test passes if we have a first line with hebrew justified and XXX in the second line (left-edge trailing space if not removed)</p>
<div class="test"><span>הם דה XXX</span></div>