CSS3 PIE Forums
http://css3pie.com/forum/

Feature request: RGBA and Text Shadows
http://css3pie.com/forum/viewtopic.php?f=4&t=576
Page 1 of 2

Author:  Fatbat [ Tue Mar 08, 2011 10:09 am ]
Post subject:  Feature request: RGBA and Text Shadows

Title is pretty self explanatory. I absolutely love CSS3 PIE but it would be that much more awesome if it could support these two things, RGBA values and Text Shadows that don't look like ass in IE.

Thanks for the fantastic work.

Author:  fresheyeball [ Mon Mar 21, 2011 12:01 am ]
Post subject:  Re: Feature request: RGBA and Text Shadows

Second on the text shadows.

Author:  Tonttu [ Mon Mar 21, 2011 12:40 pm ]
Post subject:  Re: Feature request: RGBA and Text Shadows

But which method would be used for the text shadows?

The Demo of the Valkhof method shows the shadow out of sync in IE6 after "nunc felis ac":
http://kilianvalkhof.com/2008/javascrip ... th-jquery/

Here's another, more recent project using .htc, has rgba, too:
http://r.je/css3-in-ie.html

I don't see any effects in IE6.. (don't have IE7-8 right now) Please test and comment.

Also see this: http://fetchak.com/ie-css3/

Author:  Fatbat [ Thu Mar 24, 2011 6:34 am ]
Post subject:  Re: Feature request: RGBA and Text Shadows

Tonttu wrote:
Here's another, more recent project using .htc, has rgba, too:
http://r.je/css3-in-ie.html

I don't see any effects in IE6.. (don't have IE7-8 right now) Please test and comment.


This looks pretty promising. I especially like the ability to round individual corners as well. I haven't extensively tested it, just looked at his demo page, but if it works as advertised it could be a nice alternate to PIE until these features are added. I don't really give a flip about IE6 TBH. As long as the page functions without breaking it doesn't need to look exactly the same. IE7 and 8 on the other hand...

Thanks for the links!

Author:  jason [ Thu Mar 24, 2011 11:30 am ]
Post subject:  Re: Feature request: RGBA and Text Shadows

Quote:
Here's another, more recent project using .htc, has rgba, too:
http://r.je/css3-in-ie.html


Thanks for that link, I hadn't seen this one before. I've contacted Tom Butler to see if we can collaborate in some way.

Author:  Tonttu [ Sat Apr 23, 2011 4:54 am ]
Post subject:  Re: Feature request: RGBA and Text Shadows

http://www.useragentman.com/blog/2011/0 ... avascript/
http://www.useragentman.com/tests/textS ... mple1.html

Author:  Tonttu [ Wed May 11, 2011 8:16 am ]
Post subject:  Re: Feature request: RGBA and Text Shadows

Japanese method (Google-translated) The IE9 (Incidentally IE7, IE8 also) text-shadow
Untranslated demo / translated demo

Author:  Fatbat [ Sun Jun 05, 2011 11:17 am ]
Post subject:  Re: Feature request: RGBA and Text Shadows

Thanks for the updates Tonttu! I need to check back more often.

Jason, any more thoughts on how to possibly implement this in PIE?

Author:  Tonttu [ Thu Jun 09, 2011 4:13 am ]
Post subject:  Re: Feature request: RGBA and Text Shadows

I think he's already implemented something:
http://cl.ly/093k2Z411S3C3l2k042X
http://cl.ly/2w0n3Y1S12190L0C1d2w

Oi, that's an effin' text-effin'-shadow right there!

http://mothereffingtextshadow.com/

Author:  jason [ Thu Jun 09, 2011 9:26 am ]
Post subject:  Re: Feature request: RGBA and Text Shadows

@Tonttu caught me. ;)

Yeah I've been working on adding text-shadow support for a bit now. It's still in the early stages, but as you can see in those screenshots it's already handling multiple shadows, and the blur matches other browsers very closely now (that's very tricky, it takes a finely tuned combination of different filters to make the blur anywhere close, something I've found lacking in other tools).

But there's still a lot of tough work to be done... it currently only handles simple single text nodes but needs to be enhanced to handle nested markup, it doesn't adjust correctly for border or padding, and hardest of all it doesn't update automatically when the content changes. I'll be continuing to work on this, and will push the existing code up to a GitHub branch soon for others to play around with.

Page 1 of 2 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/