Update web-platform-tests to revision 7a7e16ad8d1a1b843340f47101c0a5c24c9bba57

This commit is contained in:
WPT Sync Bot 2019-04-23 21:37:32 -04:00
parent 155fad62b3
commit d4dc41672a
207 changed files with 3287 additions and 1703 deletions

View file

@ -13,7 +13,6 @@ between the last character of a word and the first space of a sequence of preser
if there are other wrapping opportunities earlier in the line.">
<style>
div {
position: relative;
font: 25px/1 Ahem;
}
.fail {

View file

@ -11,7 +11,6 @@
<meta name="assert" content="The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.">
<style>
div {
position: relative;
font: 20px/1 Ahem;
}
.fail {

View file

@ -9,7 +9,6 @@
<meta name="assert" content="If 'white-space' is set to 'break-spaces', collapsing preserved white-spaces' advance width is not allowed, so that they can be wrapped honoring the 'white-space' propery.">
<style>
div {
position: relative;
font: 10px/1 Ahem;
}
.fail {

View file

@ -11,7 +11,6 @@
<meta name="assert" content="White spaces are preserved, honoring the 'white-space: break-spaces', but the words are broken, honring the 'word-beak: break-all' even though there are previous breaking opportunities in the white-spaces.">
<style>
div {
position: relative;
font: 25px/1 Ahem;
}
.fail {

View file

@ -8,10 +8,9 @@
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all">
<link rel="match" href="reference/white-space-break-spaces-005-ref.html">
<meta name="flags" content="ahem">
<meta name="assert" content="A single leading white-space should be used, honoring white-space: break-spaces, to avoid overflow; however, a single preserved white-space at the end of the line cannot be wrapped, hence it hangs when breaking after it to move the rest of the text to the next line.">
<meta name="assert" content="A single leading white-space should be used, honoring white-space: break-spaces, to avoid overflow; however, a single preserved white-space at the end of the line cannot be wrapped, hence it overflows when breaking after it to move the rest of the text to the next line.">
<style>
div {
position: relative;
font: 25px/1 Ahem;
}
.fail {

View file

@ -11,7 +11,6 @@
<meta name="assert" content="White spaces are preserved, honoring the 'white-space: break-spaces', which may lead to overfow. However, we can break before the first white-space after the word honoring the 'break-all' value.">
<style>
div {
position: relative;
font: 25px/1 Ahem;
}
.fail {

View file

@ -13,7 +13,6 @@ between the last character of a word and the first space of a sequence of preser
if there are no other wrapping opportunities earlier in the line">
<style>
div {
position: relative;
font: 25px/1 Ahem;
}
.red {
@ -27,7 +26,6 @@ div {
background: green;
color: red;
width: 4ch;
z-index: -1;
white-space: break-spaces;
word-break: break-word;

View file

@ -0,0 +1,18 @@
<!doctype html>
<meta charset=utf-8>
<title>Control charcters must be visible: U+000C</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-text-3/#white-space-processing">
<link rel=mismatch href="reference/control-chars-000-ref.html">
<meta name=flags content="">
<meta name=assert content="U+000C, which is in the unicode category CC, must be visible">
<style>
div {
font-size: 4em;
}
div::after { content: "\000C" } /* Injecting via CSS, to avoid any mangling by the html parser */
</style>
<p>Test passes if there is a visible character below.
<div></div>

View file

@ -9,7 +9,6 @@
<meta name="assert" content="The word is not broken despite the 'word-break: break-word' if there are previous breaking opportunities, honoring the white-space: pre-wrap value.">
<style>
div {
position: relative;
font-size: 20px;
font-family: Ahem;
}

View file

@ -9,7 +9,6 @@
<meta name="assert" content="The text is broken at the end of the space between the two words, never before, so it hangs and cause an overflow">
<style>
div {
position: relative;
font: 20px/1 Ahem;
}
.ref {

View file

@ -9,7 +9,6 @@
<meta name="assert" content="The word is not broken if there are previous breaking opportunities, honoring the white-space: pre-wrap value.">
<style>
div {
position: relative;
font-size: 20px;
font-family: Ahem;
line-height: 1em;

View file

@ -4,7 +4,6 @@
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<style>
div {
position: relative;
width: 100px;
height: 100px;
background: green;