Forums
View unanswered posts | View active topics It is currently Thu Jul 31, 2014 1:26 am



Reply to topic  [ 4 posts ] 
 IE9 with -pie-background and -ms-transform 
Author Message

Joined: Tue Mar 20, 2012 3:28 am
Posts: 3
Post IE9 with -pie-background and -ms-transform
A linear gradient created with PIE (-pie-background) displays fine in IE9.

However, if I rotate the element using:

-ms-transform: translate(-50px, -50px) rotate(45deg);

The gradient rotates 90 degrees instead of 45.
If I set the rotation to 90deg, the gradient rotates 180, etc...

Is there any fix for this behavior?

Thanks,

Zigor.


Tue Mar 20, 2012 3:33 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1441
Post Re: IE9 with -pie-background and -ms-transform
That's interesting, I'll have to look into that. PIE is just creating a SVG background image for the gradient, which should rotate exactly like any other background image. It might be an IE engine bug that we need to work around.


Tue Mar 20, 2012 8:27 am
Profile

Joined: Tue Mar 20, 2012 3:28 am
Posts: 3
Post Re: IE9 with -pie-background and -ms-transform
I'm trying to create a post-it with a gradient and a rotation.

If the rotation is set to 0 degrees, the PIE gradient looks great, however, if I rotate the div 45 degrees, the gradient rotates 90, as per the attached image.

Attachment:
File comment: Without rotation.
Untitled.png [5.57 KiB]
Not downloaded yet

Attachment:
File comment: With rotation.
Untitled.png [12.88 KiB]
Not downloaded yet


BTW, thanks for the prompt response!

Zigor.


Tue Mar 20, 2012 8:41 am
Profile

Joined: Tue Mar 20, 2012 3:28 am
Posts: 3
Post Re: IE9 with -pie-background and -ms-transform
Hello,

I have tried version 1.0.0 and see that this bug has not been fixed.

Just thought I might give it a bump. ;)

Zigor.


Mon Jun 04, 2012 1:07 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.