summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/div-orthogonal-auto-margin-right-ref.html
blob: 3ef0f11a42f5810b69f672fa2bbbb044a12a26b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE HTML>
<title> Ensure right takes effect after element is centered for orthogonal writing mode </title>
<style>
  div {
    inset: 0;
    background-color: black;
    writing-mode: vertical-rl;
    margin: auto;
    right: 10px;
    position: absolute;
    block-size: 200px;
    inline-size: 100px;
    border: 5px solid red;
  }
</style>
<div></div>