2 <title>CSS object-view-box with object-fit:contain (ref)
</title>
3 <link rel=
"author" href=
"mailto:khushalsagar@chromium.org">
4 <script src=
"support/testHelper.js"></script>
5 <link rel=
"help" href=
"https://drafts.csswg.org/css-images-4/#the-object-view-box">
17 .container_view_box_subset {
21 display: inline-block;
31 .container_view_box_subset_with_position {
35 display: inline-block;
37 .view_box_subset_with_position {
44 .container_view_box_subset_with_scaling {
48 display: inline-block;
49 clip-path: inset(
1px
0px
0px
0px);
51 .view_box_subset_with_scaling {
59 <div class=
"container_view_box_subset">
60 <__TAG__ class=
"view_box_subset"></__TAG__>
62 <div class=
"container_view_box_subset_with_position">
63 <__TAG__ class=
"view_box_subset_with_position"></__TAG__>
65 <div class=
"container_view_box_subset_with_scaling">
66 <__TAG__ class=
"view_box_subset_with_scaling"></__TAG__>
70 populateElements("__IMAGE_SOURCE__");