summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/div-block-size-ref.html
blob: 1a32dab499f743f3e2defcba95a38d5dcd2e706e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE HTML>
<title> Ensure block size is same as height of inner div </title>
<style>
  div {
    inset: 0;
    background-color: black;
    position: absolute;
    block-size: 200px;
    inline-size: 100px;
    border: 5px solid red;
  }
</style>
<div></div>