mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Update web-platform-tests to revision 78f764c05c229883e87ad135c7153051a66e2851
This commit is contained in:
parent
55347aa39f
commit
bf84a079f9
1983 changed files with 58006 additions and 31437 deletions
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<title>Reference for WebVTT rendering, 2 tracks enabled at the same time</title>
|
||||
<script src="/common/reftest-wait.js"></script>
|
||||
<style>
|
||||
html { overflow:hidden }
|
||||
body { margin:0 }
|
||||
|
@ -15,12 +17,19 @@ body { margin:0 }
|
|||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center
|
||||
text-align: center;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
.cue > span {
|
||||
font-family: sans-serif;
|
||||
background: rgba(0,0,0,0.8);
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<div class="video"><span class="cue"><span>This is a <u>test subtitle</u><br>This is a test subtitle</span></span></div>
|
||||
<div class="video">
|
||||
<video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();">
|
||||
<source src="/media/white.webm" type="video/webm">
|
||||
<source src="/media/white.mp4" type="video/mp4">
|
||||
</video>
|
||||
<span class="cue"><span>This is a <u>test subtitle</u><br>This is a test subtitle</span></span>
|
||||
</div>
|
||||
</html>
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<title>Reference for WebVTT rendering, 3 tracks enabled at the same time</title>
|
||||
<script src="/common/reftest-wait.js"></script>
|
||||
<style>
|
||||
html { overflow:hidden }
|
||||
body { margin:0 }
|
||||
|
@ -15,12 +17,19 @@ body { margin:0 }
|
|||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center
|
||||
text-align: center;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
.cue > span {
|
||||
font-family: sans-serif;
|
||||
background: rgba(0,0,0,0.8);
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<div class="video"><span class="cue"><span>This is a <b>test subtitle</b><br>This is a <u>test subtitle</u><br>This is a test subtitle</span></span></div>
|
||||
<div class="video">
|
||||
<video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();">
|
||||
<source src="/media/white.webm" type="video/webm">
|
||||
<source src="/media/white.mp4" type="video/mp4">
|
||||
</video>
|
||||
<span class="cue"><span>This is a <b>test subtitle</b><br>This is a <u>test subtitle</u><br>This is a test subtitle</span></span>
|
||||
</div>
|
||||
</html>
|
|
@ -24,4 +24,4 @@ body { margin:0 }
|
|||
color: green;
|
||||
}
|
||||
</style>
|
||||
<div class="video"><span class="cue"><span>This is a test subtitle<br>This test subtitle wraps and should be visible</span></span></div>
|
||||
<div class="video"><span class="cue"><span>This test subtitle wraps and should be visible<br>This is a test subtitle</span></span></div>
|
||||
|
|
|
@ -3,7 +3,6 @@ WEBVTT
|
|||
REGION
|
||||
id:1
|
||||
lines:2
|
||||
regionanchor:0%,0%
|
||||
scroll:up
|
||||
|
||||
00:00:00.000 --> 00:00:05.000 region:1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<title>Reference for WebVTT rendering, class object, ::cue(c), white-space: normal (cue that wraps)</title>
|
||||
<style>
|
||||
html { overflow:hidden }
|
||||
|
@ -17,12 +18,20 @@ body { margin:0 }
|
|||
right: 0;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
.cue > span {
|
||||
font-family: sans-serif;
|
||||
background: rgba(0,0,0,0.8);
|
||||
color: white;
|
||||
white-space: normal
|
||||
}
|
||||
</style>
|
||||
<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>
|
||||
<script src="/common/reftest-wait.js"></script>
|
||||
<div class="video">
|
||||
<video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();">
|
||||
<source src="/media/white.webm" type="video/webm">
|
||||
<source src="/media/white.mp4" type="video/mp4">
|
||||
</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>
|
||||
</html>
|
|
@ -1,4 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<title>Reference for WebVTT rendering, class object, ::cue(c), white-space: pre-line (cue that wraps)</title>
|
||||
<style>
|
||||
html { overflow:hidden }
|
||||
|
@ -17,12 +18,20 @@ body { margin:0 }
|
|||
right: 0;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
.cue > span {
|
||||
font-family: sans-serif;
|
||||
background: rgba(0,0,0,0.8);
|
||||
color: white;
|
||||
white-space: pre-line
|
||||
}
|
||||
</style>
|
||||
<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>
|
||||
<script src="/common/reftest-wait.js"></script>
|
||||
<div class="video">
|
||||
<video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();">
|
||||
<source src="/media/white.webm" type="video/webm">
|
||||
<source src="/media/white.mp4" type="video/mp4">
|
||||
</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>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue