Open Bug 1612347 Opened 5 years ago Updated 5 months ago

SVG CSS "transform" animation breaks with nested transform-box: fill-box property

Categories

(Core :: SVG, defect, P3)

defect

Tracking

()

People

(Reporter: account, Unassigned)

References

Details

Attachments

(4 files, 2 obsolete files)

Attached image workshop-pass.svg

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

Steps to reproduce:

Open the SVG file in Firefox

Actual results:

The node with the class .card in the SVG does not stay on the rope. It seems it is still adjusting its transformation to the rotating child node (.diesdas), which has transform-box: fill-box; applied.

Expected results:

Like in Safari or Chrome, a SVG child node’s transform-box property is taken into account, so that the parent’s node (.card) transformation is applied properly.

Component: Untriaged → SVG
OS: Unspecified → macOS
Product: Firefox → Core
Hardware: Unspecified → Desktop
Attached image reduced testcase

I can confirm this for fairly current trunk builds, tested on FreeBSD stable.
The correct component may be CSS..., though.
This reduced testcase might be a bit easier to debug than the original one.

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: macOS → All
Hardware: Desktop → All
Version: 72 Branch → Trunk
Attached image testcase 3 (more reduced) (obsolete) —

Here's a further-reduced testcase.

(er sorry, that was the wrong file and was slightly over-hacked. here's the right one)

Attachment #9125696 - Attachment is obsolete: true
Priority: -- → P3
Summary: SVG CSS animation breaks with nested transform-box: fill-box property → SVG CSS "transform" animation breaks with nested transform-box: fill-box property
Attached file sample.html (obsolete) —

An example with a more pronounced breakage.

Comment on attachment 9264757 [details]
sample.html

wrong file uploaded.

Attachment #9264757 - Attachment is obsolete: true
Attached file sample.html

A simple example with a more pronounced visual anomaly.

Severity: normal → S3
See Also: → 1893883
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: