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/svg-fill-opacity.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>CSS Test: 'text-shadow' respects non-opaque fill</title>
<link rel="match" href="svg-fill-opacity-ref.html">
<style>
svg { font: bold 64px Arial, sans-serif; text-shadow: grey 10px 10px }
</style>
<svg width="240" height="80">
<text x="30" y="50" fill="rgba(255, 255, 0, 0.5)">Hello</text>
</svg>