summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-near-zero.html
blob: 01cb5f86848f4f0e5f7faf54656a01777de63fae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<title>Text with decoration and a text-shadow with a color with alpha close to 0</title>
<link rel="help" href="https://drafts.csswg.org/css-text-decor/#text-shadow-property">
<link rel="help" href="https://drafts.csswg.org/css-text-decor/#text-decoration-property">
<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>