summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/object-view-box-writing-mode-svg.html
blob: 5d90bb6026a3535614551e8170f0d874fea52460 (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
<!-- 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</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<link rel="match" href="object-view-box-writing-mode-svg-ref.html">
<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;
}
.view_box_subset {
  object-view-box: inset(25px 0px 0px 0px);
  object-fit: fill;
  background-color: black;
}
</style>
<img class="view_box_subset"></img>
</body>
<script>
  populateElements("support/blue-green-red-yellow-50x100.svg");
</script>