Closed
Bug 295647
Opened 20 years ago
Closed 20 years ago
gradients not working on single horizontal/vertical lines
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: tor, Assigned: tor)
Details
Attachments
(1 file)
2.64 KB,
patch
|
scootermorris
:
review+
shaver
:
approval1.8b3+
|
Details | Diff | Splinter Review |
Attachment #184635 -
Flags: review?(scootermorris)
Comment 2•20 years ago
|
||
Comment on attachment 184635 [details] [diff] [review]
handle quirks of gdi+ and cairo
Looks good to me!
Attachment #184635 -
Flags: review?(scootermorris) → review+
Attachment #184635 -
Flags: approval1.8b3?
Comment 3•20 years ago
|
||
Comment on attachment 184635 [details] [diff] [review]
handle quirks of gdi+ and cairo
a=shaver, though some symbolic constants there would be nice.
Attachment #184635 -
Flags: approval1.8b3? → approval1.8b3+
Checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
I have this issue with referenced linear gradient on stroke on Firefox 41.0.1, win7
<defs>
<linearGradient id="linear1" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#05a"/>
<stop offset="100%" stop-color="#0a5"/>
</linearGradient>
</defs>
Line not visible:
<path d="M0,10L200,10" stroke="url(#linear)" stroke-width="5" fill="none"/>
Line visible with the gradient:
<path d="M0,10L200,10.01" stroke="url(#linear)" stroke-width="5" fill="none"/>
Comment 6•10 years ago
|
||
ddpm Read the last paragraph in http://www.w3.org/TR/SVG/coords.html#ObjectBoundingBox and note that the default units for gradients are objectBoundingBox.
You need to log in
before you can comment on or make changes to this bug.
Description
•