summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-container-metrics-001-ref.html
blob: 92751144a267b7f7b041a5adf0bcdb54703f2f2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Highlight API Test Reference</title>
<head>
  <style>
    div {
      width: 200px;
      height: 100px;
    }
    #h1 {
      text-underline-offset: 1svw;
      text-decoration-line: underline;
      text-decoration-color: green;
      text-decoration-thickness: 2svh;
    }
  </style>
</head>
<body>
  <div id="h1">With container size</div>
</body>