Forums
View unanswered posts | View active topics It is currently Wed Oct 01, 2014 8:15 am



Reply to topic  [ 2 posts ] 
 gradient color stops not smaller than 10px? 
Author Message

Joined: Thu Sep 23, 2010 3:32 am
Posts: 1
Post gradient color stops not smaller than 10px?
Hi,

When using -pie-background on a large enough element (let's say 100px) I found out that color stops (using pixel units) cannot be inserted at smaller distances than around 10px. when I try, the gradient remains at this apparent minimum value of 10px.

for example:

-pie-background: linear-gradient(top, #d8d8d8, #eeeeee 3px);

renders exactly the same as:

-pie-background: linear-gradient(top, #d8d8d8, #eeeeee 10px);

I guess this is a bug?


Fri Oct 22, 2010 3:48 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1443
Post Re: gradient color stops not smaller than 10px?
Interesting, I'll take a look. If you could open a ticket about it on the GitHub tracker that would be helpful.

PIE has to convert the length values to percentages for use by the VML gradient syntax. It's possible that the VML engine rounds things to the nearest whole percent or something silly like that.


Fri Oct 22, 2010 10:34 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], Yahoo [Bot] and 6 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.