Seitk / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

text-shadow support #140

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The text-shadow CSS property was introduced in CSS2, however was bumped from 
CSS2.1. It will 
be re-added to CSS3. It has, however, already been implemented in a few 
different browsers 
(http://www.css3.info/preview/text-shadow/).

Examples are shown on the page.

This is based on the current stable release.

Original issue reported on code.google.com by mhowell...@gmail.com on 31 Dec 2008 at 8:45

GoogleCodeExporter commented 9 years ago
This may be implementable using filters. I'll look into it.

Original comment by dean.edw...@gmail.com on 11 Feb 2010 at 7:09

GoogleCodeExporter commented 9 years ago
There is a jquery version that uses IE filters to do text-shadow at 
http://plugins.jquery.com/project/textshadow. 

Original comment by tcamp...@gmail.com on 10 Mar 2010 at 11:05

GoogleCodeExporter commented 9 years ago
That jQuery plugin creates an extra <span> to achieve the effect. I'm not sure 
I want 
to go down that route.

Original comment by dean.edw...@gmail.com on 18 Mar 2010 at 9:02

GoogleCodeExporter commented 9 years ago
Here is a .htc file that does text-shadow, and more in IE. I'm not sure if it 
will help:

http://fetchak.com/ie-css3/

Original comment by waynesl...@gmail.com on 24 Jun 2010 at 1:58

GoogleCodeExporter commented 9 years ago
Vote for text shadows. No js I have found out there works 100% and makes it 
look good. I have tried 4 or 5 different ones. Thanks for this by the way.

Original comment by branndon on 9 Dec 2010 at 10:26

GoogleCodeExporter commented 9 years ago
I use the following for text-shadow under IE:

    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#000000')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#000000');  

It'd be nice to have support in ie7-js that looked for instances of CSS 
text-shadow and if -ms-filter is absent, compute it and set it, and if filter 
is absent, compute and set.  This way, if a designer wants explicit control 
over the IE-specific filters, ie7-js won't clobber them, but if you leave them 
out, ie7-js will work magic and set them for you.

Thoughts?

Original comment by Doss...@gmail.com on 16 Feb 2011 at 6:58

GoogleCodeExporter commented 9 years ago
Maybe have it as an optional flag? It would be handy to add it in.

Original comment by daniel.r...@nuffie.co.nz on 30 May 2011 at 11:02