Bug 1531337 [wpt PR 15491] - Remove new lines in the reference for 'white-space: pre' tests, a=testonly

Automatic update from web-platform-tests
Remove new lines in the reference for 'white-space: pre' tests

--
overflow hidden each cue

--
Merge pull request #15491 from gkatsev/update-webvtt-white-space-pre-references

Remove new lines in the reference for 'white-space: pre' tests
--

wpt-commits: 26dcd7d8b72152fdaf4c54a48a6d07c93e579ac2, d0b0e694f77b3fe9509e501f254ce0434f6e7692, fb6ed0e160406ef03834a596d2f217665c7d6d52
wpt-pr: 15491
This commit is contained in:
Gary Katsevman 2019-03-06 12:36:46 +00:00 committed by James Graham
parent 9203d96c64
commit 1b2c390e26
7 changed files with 14 additions and 7 deletions

View File

@ -18,6 +18,7 @@ body { margin:0 }
width: 40%;
font-family: sans-serif;
text-align: center;
overflow: hidden;
}
.cue > span {
background: rgba(0,0,0,0.8);
@ -25,4 +26,4 @@ body { margin:0 }
white-space: pre
}
</style>
<div class="video"><span class="cue"><span>A A A A A <br> A <br>A A A A A</span></span></div>
<div class="video"><span class="cue"><span>A A A A A A A A A A A</span></span></div>

View File

@ -17,6 +17,7 @@ body { margin:0 }
right: 0;
width: 50%;
text-align: center;
overflow: hidden;
}
.cue > span {
font-family: sans-serif;
@ -26,4 +27,4 @@ body { margin:0 }
white-space: pre
}
</style>
<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
<div class="video"><span class="cue"><span>This is a test subtitle that most likely will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>

View File

@ -17,6 +17,7 @@ body { margin:0 }
right: 0;
width: 50%;
text-align: center;
overflow: hidden;
}
.cue > span {
font-family: sans-serif;
@ -25,4 +26,4 @@ body { margin:0 }
white-space: pre
}
</style>
<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
<div class="video"><span class="cue"><span>This is a test subtitle that most likely will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>

View File

@ -17,6 +17,7 @@ body { margin:0 }
right: 0;
width: 50%;
text-align: center;
overflow: hidden;
}
.cue > span {
font-family: sans-serif;
@ -26,4 +27,4 @@ body { margin:0 }
white-space: pre
}
</style>
<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
<div class="video"><span class="cue"><span>This is a test subtitle that most likely will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>

View File

@ -17,6 +17,7 @@ body { margin:0 }
right: 0;
width: 50%;
text-align: center;
overflow: hidden;
}
.cue > span {
font-family: sans-serif;
@ -26,4 +27,4 @@ body { margin:0 }
white-space: pre
}
</style>
<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
<div class="video"><span class="cue"><span>This is a test subtitle that most likely will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>

View File

@ -17,6 +17,7 @@ body { margin:0 }
right: 0;
width: 50%;
text-align: center;
overflow: hidden;
}
.cue > span {
font-family: sans-serif;
@ -25,4 +26,4 @@ body { margin:0 }
white-space: pre
}
</style>
<div class="video"><span class="cue"><span>This is a test subtitle that most <br>likely will span over several <br>rows since it's a pretty long cue <br>with a lot of text.</span></span></div>
<div class="video"><span class="cue"><span>This is a test subtitle that most likely will span over several rows since it's a pretty long cue with a lot of text.</span></span></div>

View File

@ -18,6 +18,7 @@ body { margin:0 }
width: 40%;
font-family: sans-serif;
text-align: center;
overflow: hidden;
}
.cue > span {
background: rgba(0,0,0,0.8);
@ -25,4 +26,4 @@ body { margin:0 }
white-space: pre
}
</style>
<div class="video"><span class="cue"><span>A A A A A <br> A <br>A A A A A</span></span></div>
<div class="video"><span class="cue"><span>A A A A A A A A A A A</span></span></div>