summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/highlight-custom-properties-dynamic-001-ref.html
blob: 836874df056a8a934c38aeebd7ace9d404b312b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Pseudo Test: Dynamic Custom Properties for Highlights</title>
<link rel="author" title="Stephen Chenney" href="mailto:schenney@igalia.com">
<head>
  <style>
    ::selection {
      background-color: green;
    }
  </style>
</head>
<body>Green background when selected</body>
<script>
  window.getSelection().selectAllChildren(document.body);
</script>
</html>