1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32

content / test / data / gpu / pixel_video_backdrop_filter.html [blame]

<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="initial-scale=1">
<title>MP4 Video with Backdrop Filter Test</title>
<style type="text/css">
.nomargin {
  margin: 0px auto;
}
.absolute {
  position: absolute;
  top: 0px;
  left: 0px;
}
.backdrop {
  width: 200px;
  height: 100px;
  backdrop-filter: grayscale(1);
  z-index: 1;
}
</style>
<script src="pixel_video_test.js"></script>
</head>
<body onload="main()">
<div id="container" class="absolute">
<video class="nomargin" id="video">
<source src="/media/test/data/four-colors.mp4" type="video/mp4">
</video>
<div class="nomargin absolute backdrop"></div>
</div>
</body>
</html>