WebCore:
[WebKit-https.git] / LayoutTests / media / video-poster.html
1 <video poster="content/greenbox.png"></video>
2 <script src=video-test.js></script>
3 <script>
4 test("video.getAttribute('poster') == 'content/greenbox.png'");
5 test("relativeURL(video.poster) == 'content/greenbox.png'");
6 video.setAttribute('poster', 'content/abe.png');
7 test("video.getAttribute('poster') == 'content/abe.png'");
8 test("relativeURL(video.poster) == 'content/abe.png'");
9 endTest();
10 </script>