summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image/image-object-fit-dyn-1-ref.html
blob: 497c70c883144dc00ce23e7d40a436a45f6ae98b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
  <head>
    <meta charset="utf-8">
    <style type="text/css">
      embed, img, object, video {
        object-fit: cover;
        background: red;
        width: 50px;
        height: 30px;
      }
    </style>
  </head>
  <body>
    <embed src="500.svg">
    <img src="500.svg">
    <object data="500.svg"></object>
    <video poster="500.svg"></video>
  </body>
</html>