Update web-platform-tests to revision 58b72393db0bd273bb93268c33666cf893feb985

This commit is contained in:
Josh Matthews 2017-10-31 08:58:31 -04:00
parent 43a4f01647
commit 64e0a52537
12717 changed files with 59835 additions and 59820 deletions

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test reference file</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
div {
font-size: 20px;
font-family: ahem;
line-height: 1em;
color: green;
}
</style>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div>XX<br>XX</div>
</body>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test reference file</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<!-- pre-wrap-001-ref.html could probably be used instead,
but since textarea is a form control that's not fully specified,
using a separate reference just in case something is indeed different
is safer. -->
<style>
textarea {
word-wrap: initial; /*deprecated alias*/
overflow-wrap: initial;
line-break: initial;
word-break: initial;
margin: 0;
padding: 0;
border: none;
outline: none;
resize: none;
overflow: hidden; /* I don't want scrollbars, and overflow:visible isn't typically supported on textarea */
font-size: 20px;
font-family: ahem;
line-height: 1em;
color: green;
white-space: pre;
}
</style>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<textarea>XX
XX</textarea>
</body>

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: white-space-collapsing - discard - basic cases Reftest Reference</title>
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
<style type="text/css">
<![CDATA[
span {
color: Blue;
}
]]>
</style>
</head>
<body>
<p>
Test passes if the first sentence matches the second one.
</p>
<div>
<span>AllWhiteSpaceInTheElementShouldBeDiscarded.</span>
</div>
<div>
<span>AllWhiteSpaceInTheElementShouldBeDiscarded.</span>
</div>
</body>
</html>

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: white-space-collapsing - preserve-breaks - basic cases Reftest Reference</title>
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
<style type="text/css">
<![CDATA[
span {
color: Blue;
}
]]>
</style>
</head>
<body>
<p>
Test passes if the first two sentences matches the second one.
</p>
<p>
<span>
Sequences of white space should collapse into a single character.<br />
But segment breaks as forced line breaks are preserved.
</span>
</p>
<p>
<span>
Sequences of white space should collapse into a single character.<br />
But segment breaks as forced line breaks are preserved.
</span>
</p>
</body>
</html>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: white-space-collapsing - trim-inner - basic cases Reftest Reference</title>
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
<style type="text/css">
<![CDATA[
span {
color: Blue;
}
]]>
</style>
</head>
<body>
<p>
Test passes if each text positions in the first line match the corresponding positions in the second line.
</p>
<div>
<span>1 2</span>
<span>  3  4  </span>
<span>5 6</span>
<span>7
8</span>
</div>
<div>
<span>1 2</span>
<span>  3  4  </span>
<span>5 6</span>
<span>7
8</span>
</div>
</body>
</html>