mirror of
https://github.com/servo/servo.git
synced 2025-08-22 13:55:34 +01:00
Update web-platform-tests to revision bb1f35100ad0aedeeb6897dd640b360f80498027
This commit is contained in:
parent
3a3a7cdc22
commit
210ff0c02a
35 changed files with 1957 additions and 43 deletions
|
@ -1,14 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<title>Reference for WebVTT rendering, cue text should be removed when removing them using the DOM APIs while paused</title>
|
||||
<script src="/common/reftest-wait.js"></script>
|
||||
<style>
|
||||
html { overflow:hidden }
|
||||
body { margin:0 }
|
||||
.video {
|
||||
display: inline-block;
|
||||
width: 320px;
|
||||
height: 180px;
|
||||
position: relative;
|
||||
font-size: 9px;
|
||||
}
|
||||
html { overflow: hidden }
|
||||
body { margin: 0 }
|
||||
</style>
|
||||
<div class="video"></div>
|
||||
<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>
|
||||
</html>
|
|
@ -2,15 +2,15 @@
|
|||
<html class="reftest-wait">
|
||||
<title>WebVTT rendering, cue text should be removed when removing them using the DOM APIs while paused</title>
|
||||
<link rel="match" href="dom_override_remove_cue_while_paused-ref.html">
|
||||
<script src="/common/reftest-wait.js"></script>
|
||||
<style>
|
||||
html { overflow:hidden }
|
||||
body { margin:0 }
|
||||
html { overflow: hidden }
|
||||
body { margin: 0 }
|
||||
::cue {
|
||||
font-family: Ahem, sans-serif;
|
||||
color: green
|
||||
}
|
||||
</style>
|
||||
<script src="/common/reftest-wait.js"></script>
|
||||
<script>
|
||||
var i = 0;
|
||||
function updateCue() {
|
||||
|
@ -24,7 +24,7 @@ body { margin:0 }
|
|||
takeScreenshotDelayed(1000);
|
||||
}
|
||||
</script>
|
||||
<video id="video" width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); updateCue();">
|
||||
<video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); updateCue();">
|
||||
<source src="/media/white.webm" type="video/webm">
|
||||
<source src="/media/white.mp4" type="video/mp4">
|
||||
<track id="track" src="support/test.vtt" onload="updateCue();">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue