Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /forced-colors-mode/forced-colors-mode-39.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - pseudo elements.</title>
<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>