Closed Bug 1721167 Opened 4 years ago Closed 4 years ago

Invalid values for data-svg-origin attribute in SVG <g> tag.

Categories

(Core :: SVG, defect)

Firefox 90
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: advertonic.kft, Unassigned)

References

()

Details

Attachments

(1 file)

Attached image Firefox_debugger.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Steps to reproduce:

Created an animation what is using SVG definitions to mask a .png.
Live example:
http://naphon.info/Preview/firefox/mask/test/EN/DOUBLECLICK/300x250/index.html

Actual results:

Mask object data-svg-origin attribute is: data-svg-origin="0 0"

Expected results:

Attribute should be data-svg-origin="150 125" as it is defined in the gradientTransform attribute of linearGradient: "gradientTransform="translate(0.5 0.5) scale(0.83 1) translate(-.5 -.5)"

In Chrome, the data-svg-origin attribute is correct.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Summary: linerGradient attribute gradientTransform doesn't translate properly for <g data-svg-origin=""> → Invalid values for data-svg-origin attribute in SVG <g> tag.
Component: Untriaged → SVG
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: