mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:07:45 +00:00
LibWeb: Fix stroke-opacity
for stroked paths that use PaintStyles
Ref test included :)
This commit is contained in:
parent
8dc25dffc2
commit
3659149888
3 changed files with 30 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
|||
<style>
|
||||
body {
|
||||
background-color: white;
|
||||
}
|
||||
</style>
|
||||
<svg height="150" width="400">
|
||||
<defs>
|
||||
<linearGradient id="grad" x1="0" y1="0" x2="70%" y2="0">
|
||||
<stop offset="0" stop-color="red" stop-opacity="0.3"/>
|
||||
<stop offset="1" stop-color="blue" stop-opacity="0.3"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect x="115" y="15" width="170" height="110" stroke="url(#grad)" stroke-width="10" fill="none" />
|
||||
</svg>
|
Loading…
Add table
Add a link
Reference in a new issue