Closed Bug 1085472 Opened 10 years ago Closed 10 years ago

Some values -90deg or 180deg for CSS transform applied on inline SVG not work

Categories

(Core :: Layout, defect)

33 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 949661

People

(Reporter: memmie, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:34.0) Gecko/20100101 Firefox/34.0
Build ID: 20141014134955

Steps to reproduce:

Create an svg element in a HTML document, apply a `rotate(90*n deg)` (where n is an integer) rotate transformation on it

See the attached example.


Actual results:

The transformation is not applied


Expected results:

The transformation should be applied according to the transform value
Could you attach a screenshot of what you're seeing?

(I don't think I see it.)
Flags: needinfo?(memmie)
This is really weird.... jwatt, do you have time to look into this?

This happens in older Firefox versions (32, 33) as well, so not an obvious recent regression.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jwatt)
I don't see this on Linux.
Flags: needinfo?(memmie)
On the left, rendered with Firefox 33. On the right, rendered with Chrome 39
It might be interesting to see if the bug is also present if a scale is used.

It almost seems like there's a call to PreservesAxisAlignedRectangles() that meant to be a call to HasNonAxisAlignedTransform().
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jwatt)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: