| <title>object-fit, video</title> |
| <script src=media-file.js></script> |
| testRunner.waitUntilDone(); |
| setSrcByTagName("video", findMediaFile("video", "content/test")); |
| var totalCount = document.getElementsByTagName('video').length; |
| document.addEventListener("canplaythrough", function () { |
| setTimeout(function() { testRunner.notifyDone(); }, totalCount * 150); |
| <video style="object-fit: fill"></video> |
| <video style="object-fit: contain"></video> |
| <video style="object-fit: cover"></video> |
| <video style="object-fit: none"></video> |
| <video style="object-fit: scale-down"></video> |