summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-39.html
blob: 7b69fc979c2627472288081e522d774b98b27071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - pseudo elements.</title>
<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-colors-properties">
<link rel=match href="forced-colors-mode-39-ref.html">
<style>
  p::before {
    background: blue;
    content: 'before';
    display: block;
    width: 100%;
  }
</style>
<p>
  The background color of pseudo elements should get overridden in Forced Colors
  Mode.
</p>