summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/object-view-box-writing-mode-img-ref.html
blob: 9bcdb8ba0b83392fd0c8567b1b3ee8d64deea19b (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
<!-- This is an autogen file. Run support/generate_object_view_box_tests.py to update -->
<!DOCTYPE html>
<html>
<title>CSS object-view-box with vertical writing mode : ref</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<script src="support/testHelper.js"></script>
<link rel="help" href="https://drafts.csswg.org/css-images-4/#the-object-view-box">

<body>
<style>
html {
  writing-mode: vertical-lr;
}
.container_view_box_subset {
  width: 50px;
  height: 75px;
  overflow: hidden;
  display: inline-block;
}
.view_box_subset {
  position: relative;
  top: -25px;
}
</style>
<div class="container_view_box_subset">
  <img class="view_box_subset"></img>
</div>
</body>
<script>
  populateElements("support/exif-orientation-6-ru.jpg");
</script>