summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/object-view-box-svg-img-no-size.html
blob: 1d1c97a6e5f85cee31dfd47c79fc160f7596957d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<title>CSS object-view-box with an svg with no intrinsic size</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<link rel="match" href="object-view-box-svg-img-no-size-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-images-4/#the-object-view-box">

<style>
.default {
  object-view-box: inset(50px 0px 0px 0px);
  object-fit: fill;
  background-color: black;
}
</style>
<img class="default" src="support/blue-green-red-yellow-no-size.svg"></img>