Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text-decor/text-shadow/basic-opacity-near-zero.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Text with decoration and a text-shadow with a color with alpha close to 0</title>
<link rel="match" href="basic-opacity-near-zero-ref.html">
<style>
#target {
font-size: 100px;
color: rgba(0 255 0 / 0.5);
text-shadow: 0 2px 0 rgba(0 0 255 / 0.0001);
text-decoration: line-through;
}
</style>
<div id="target">X</div>