| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <title>::backdrop for a fullscreen video element</title> | |
| 3 <script src="../trusted-event.js"></script> | |
| 4 <style> | |
| 5 video::backdrop { | |
| 6 background: green; | |
| 7 } | |
| 8 /* A video element in fullscreen will always get controls. | |
| 9 ::-webkit-media-controls shouldn't be exposed to the web, but it is, so abuse | |
| 10 it to hide the controls and simplify the test expectations. */ | |
| 11 video::-webkit-media-controls { | |
| 12 display: none; | |
| 13 } | |
| 14 </style> | |
| 15 <video></video> | |
| 16 <script> | |
| 17 testRunner.waitUntilDone(); | |
| 18 trusted_request(document.querySelector("video")); | |
| 19 document.addEventListener("fullscreenchange", function() { | |
| 20 testRunner.notifyDone(); | |
| 21 }); | |
| 22 </script> | |
| OLD | NEW |