summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/density-size-correction/density-corrected-various-elements-ref.html
blob: a0be0ac8d80f541038d0cdd1132afa4a05220392 (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
25
26
27
28
29
30
31
32
33
34
<html>
  <head>
    <title>Density Corrected Size: various elements</title>
    <link rel="author" title="Noam Rosenthal" href="noam@webkit.org">
    <style>
      .row {
        display: flex;
      }

      .row > * {
        object-fit: none;
        object-position: top left;
        margin: 5px;
        width: 100px;
        height: 50px;
        background: #CCCCCC;
      }
    </style>
  </head>
  <body>
    <p>There following boxes should be identical (the colorful boxes at the top-left quarter)</p>
    <div class="row">
      <div>
        <img src="resources/exif-resolution-none.jpg" width="50" height="25" />
      </div>
      <div>
        <img src="resources/exif-resolution-none.jpg" width="50" height="25" />
      </div>
      <div>
        <img src="resources/exif-resolution-none.jpg" width="50" height="25" />
      </div>
    </div>
  </body>
</html>