Closed Bug 816898 Opened 13 years ago Closed 13 years ago

stop-opacity: applies to graphical element, not fill only.

Categories

(Core :: SVG, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jay, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

The current Mozilla implementation applies opacity to the fill layer only, whereas Opera & Webkit apply to graphical element. Example set opacity="1" and stop-opacity="0", Result Mozilla: layers behind graphical element are not visible Result Opera Webkit: layers behind graphical element are visible see attachment One could mimic current Mozilla practice with opaque layer behind, whereas afaict there is no way to mimic Opera/Webkit using Mozilla. for this reason I don't feel there is a need to take to SVGWG: http://www.w3.org/TR/SVG11/pservers.html#StopOpacityProperty However this can easily be done if necessary.
Attached image reduced testcase
If I change the percentage values to numbers, then it renders the same in Firefox as it does in Safari. Are percentages allowed for stop-opacity? At the least WebKit and Gecko handle them differently.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
For the historical record, <opacity-value> is documented here, and only <number>s are allowed: http://www.w3.org/TR/SVG11/masking.html#OpacityProperty
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: