Update web-platform-tests to revision e426a6933a05bf144eba06a1d4c47ba876a4e2d1

This commit is contained in:
WPT Sync Bot 2019-05-22 10:24:35 +00:00
parent 415b26e4f1
commit 5e5eccabf8
495 changed files with 14920 additions and 784 deletions

View file

@ -27,7 +27,7 @@
border: 1px solid gray;
color: blue;
font-family: "mplus-1p-regular";
width: 10.2em; /* added extra .2em for some symbols wider than 1em */
width: 10.1em; /* added extra .1em for some symbols wider than 1em */
}
span.target {
background-color: aqua;

View file

@ -27,7 +27,7 @@
border: 1px solid gray;
color: blue;
font-family: "mplus-1p-regular";
width: 10.2em; /* added extra .2em for some symbols wider than 1em */
width: 10.1em; /* added extra .1em for some symbols wider than 1em */
}
span.target {
background-color: aqua;

View file

@ -27,7 +27,7 @@
border: 1px solid gray;
color: blue;
font-family: "mplus-1p-regular";
width: 10.2em; /* added extra .2em for some symbols wider than 1em */
width: 10.1em; /* added extra .1em for some symbols wider than 1em */
}
span.target {
background-color: aqua;

View file

@ -21,7 +21,7 @@
border: 1px solid gray;
color: blue;
font-family: "mplus-1p-regular";
width: 10.2em; /* added extra .2em for some symbols wider than 1em */
width: 10.1em; /* added extra .1em for some symbols wider than 1em */
}
span.target {
background-color: aqua;

View file

@ -21,7 +21,7 @@
border: 1px solid gray;
color: blue;
font-family: "mplus-1p-regular";
width: 10.2em; /* added extra .2em for some symbols wider than 1em */
width: 10.1em; /* added extra .1em for some symbols wider than 1em */
}
span.target {
background-color: aqua;

View file

@ -21,7 +21,7 @@
border: 1px solid gray;
color: blue;
font-family: "mplus-1p-regular";
width: 10.2em; /* added extra .2em for some symbols wider than 1em */
width: 10.1em; /* added extra .1em for some symbols wider than 1em */
}
span.target {
background-color: aqua;

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<title>CSS Text Test: very long line with `overflow-wrap: break-word` should not crash</title>
<link rel="help" href="https://crbug.com/961987">
<link rel="author" title="Koji Ishii" href="kojii@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
html, body {
margin: 0;
}
body {
overflow-wrap: break-word;
width: 2147483648px;
}
div {
/* Double the width in case CSS parser clamps the body width. */
width: 200%;
}
span {
border-left: 2147483648px solid;
}
</style>
<body>
<div><span>x</span></div>
<script>
test(() => { document.body.offsetTop; });
</script>
</body>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<title>Very long line with `text-indent` should not crash</title>
<link rel="help" href="https://crbug.com/963794">
<link rel="author" title="Koji Ishii" href="kojii@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
body {
width: 2147483648px;
}
div {
text-indent: 2147483648px;
width: 200%; /* Double the width in case CSS parser clamps the body width */
}
</style>
<body>
<div>XXX</div>
<script>test(() => { document.body.offsetTop; });</script>
</body>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: white-space: break-spaces</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel="help" title="3. White Space and Wrapping: the white-space property" href="https://drafts.csswg.org/css-text-3/#white-space-property">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-break-spaces">
<meta name="flags" content="ahem">
<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
<meta name="assert" content="break-spaces only allows breaking after a white space, hence, a preserved white space may overflow.">
<style>
div {
font: 25px/1 Ahem;
}
.fail {
position: absolute;
color: red;
z-index: -1;
}
span { color: green; }
.test {
color: green;
width: 4ch;
white-space: break-spaces;
}
</style>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div class="fail">XXXX<br><span>X</span>XX<span>X<br>XXXX<br>XXXX</span></div>
<div class="test">XXXX XX</div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element - reference</title>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">bbbbbb<br>bbbb</div>
<div class="testdiv">bbbbbb<br>bbbb</div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element - reference</title>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaa bb<br>bbbb</div>
<div class="testdiv">aaa bb<br>bbbb</div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element - reference</title>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaabb<br>bbbb</div>
<div class="testdiv">aaaabb<br>bbbb</div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element - reference</title>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaaaaa<br>bbb</div>
<div class="testdiv">aaaaaaa<br>bbb</div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element - reference</title>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaa bb<br>bbbbbb<br>bbb<br>ccc</div>
<div class="testdiv">aaa bb<br>bbbbbb<br>bbb<br>ccc</div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element - reference</title>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaabb<br>bbbbbb<br>bbbccccc</div>
<div class="testdiv">aaaabb<br>bbbbbb<br>bbbccccc</div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element - reference</title>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaaaaa<br>bbbbbb<br>bcccccc</div>
<div class="testdiv">aaaaaaa<br>bbbbbb<br>bcccccc</div>

View file

@ -30,5 +30,5 @@ div {
}
</style>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div class="red">X<br>XX X<br>X X <br>XX X</div>
<div class="red">X X <br>X X <br>X X <br>XX X</div>
<div class="test">X XX XX X XX X</div>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<meta name="assert" content="word-break: break-all works when specified on inline element">
<link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
<link rel='match' href='reference/word-break-break-all-inline-001-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
.test { word-break: break-all; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv"><span class="test">bbbbbbbbbb</span></div>
<div class="testdiv">bbbbbb<br>bbbb</div>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<meta name="assert" content="word-break: break-all works when specified on inline element">
<link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
<link rel='match' href='reference/word-break-break-all-inline-002-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
.test { word-break: break-all; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaa <span class="test">bbbbbb</span></div>
<div class="testdiv">aaa bb<br>bbbb</div>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<meta name="assert" content="word-break: break-all works when specified on inline element">
<link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
<link rel='match' href='reference/word-break-break-all-inline-003-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
.test { word-break: break-all; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaa<span class="test">bbbbbb</span></div>
<div class="testdiv">aaaabb<br>bbbb</div>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<meta name="assert" content="word-break: break-all works when specified on inline element">
<link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
<link rel='match' href='reference/word-break-break-all-inline-004-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
.test { word-break: break-all; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaaaaa<span class="test">bbb</span></div>
<div class="testdiv">aaaaaaa<br>bbb</div>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<meta name="assert" content="word-break: break-all works when specified on inline element">
<link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
<link rel='match' href='reference/word-break-break-all-inline-005-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
.test { word-break: break-all; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaa <span class="test">bbbbbbbbbbb</span> ccc</div>
<div class="testdiv">aaa bb<br>bbbbbb<br>bbb<br>ccc</div>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<meta name="assert" content="word-break: break-all works when specified on inline element">
<link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
<link rel='match' href='reference/word-break-break-all-inline-006-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
.test { word-break: break-all; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaa<span class="test">bbbbbbbbbbb</span>ccccc</div>
<div class="testdiv">aaaabb<br>bbbbbb<br>bbbccccc</div>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<meta name="assert" content="word-break: break-all works when specified on inline element">
<link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
<link rel='match' href='reference/word-break-break-all-inline-007-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
.test { word-break: break-all; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaaaaa<span class="test">bbbbbbb</span>cccccc</div>
<div class="testdiv">aaaaaaa<br>bbbbbb<br>bcccccc</div>