Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb

This commit is contained in:
WPT Sync Bot 2019-03-28 22:09:18 -04:00
parent fcd6beb608
commit cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions

View file

@ -9,9 +9,10 @@
<meta name="assert" content="A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: break-spaces' property, that must prevent the word to be broken.">
<style>
div {
position: relative;
font-size: 20px;
font-family: Ahem;
position: relative;
font-size: 20px;
font-family: Ahem;
line-height: 1em;
}
.red {
position: absolute;
@ -23,8 +24,8 @@ div {
}
.test {
color: green;
line-height: 1em;
width: 5ch;
white-space: break-spaces;
overflow-wrap: break-word;
}

View file

@ -11,8 +11,8 @@
<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;
position: relative;
font: 20px/1 Ahem;
}
.fail {
position: absolute;

View file

@ -9,8 +9,8 @@
<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;
position: relative;
font: 10px/1 Ahem;
}
.fail {
position: absolute;

View file

@ -11,8 +11,8 @@
<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;
position: relative;
font: 25px/1 Ahem;
}
.fail {
position: absolute;

View file

@ -11,8 +11,8 @@
<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.">
<style>
div {
position: relative;
font: 25px/1 Ahem;
position: relative;
font: 25px/1 Ahem;
}
.fail {
position: absolute;

View file

@ -11,8 +11,8 @@
<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;
position: relative;
font: 25px/1 Ahem;
}
.fail {
position: absolute;

View file

@ -9,8 +9,8 @@
<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;
position: relative;
font: 20px/1 Ahem;
}
.ref {
position: absolute;

View file

@ -12,6 +12,7 @@ div {
position: relative;
font-size: 20px;
font-family: Ahem;
line-height: 1em;
}
.red {
position: absolute;
@ -24,7 +25,6 @@ div {
}
.test {
color: green;
line-height: 1em;
width: 2ch;
white-space: pre-wrap;

View file

@ -26,6 +26,7 @@ div {
.test {
color: green;
width: 5ch;
white-space: pre-wrap;
word-break: break-all;
}

View file

@ -9,9 +9,10 @@
<meta name="assert" content="The word is broken even if white-space: break-spaces provides a former breaking opportunity in leading white-space.">
<style>
div {
position: relative;
font-size: 20px;
font-family: Ahem;
position: relative;
font-size: 20px;
font-family: Ahem;
line-height: 1em;
}
.red {
position: absolute;
@ -24,7 +25,6 @@ div {
}
.test {
color: green;
line-height: 1em;
width: 5ch;
white-space: break-spaces;

View file

@ -9,9 +9,10 @@
<meta name="assert" content="A single leading white-space should account as soft breaking opportunity, honoring the 'white-space: break-spaces', on top to the ones provided by 'word-break: break-all'.">
<style>
div {
position: relative;
font-size: 20px;
font-family: Ahem;
position: relative;
font-size: 20px;
font-family: Ahem;
line-height: 1em;
}
.red {
position: absolute;
@ -24,7 +25,6 @@ div {
}
.test {
color: green;
line-height: 1em;
width: 1ch;
white-space: break-spaces;
word-break: break-all;