Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome doesn't display text-shadow with a spread value

I have this extremely simple HTML document:

<html>
    <head>
        <title>test</title>
    </head>

    <body>
        <div style="text-shadow: 0px 0px 5px black">
            This should have a text shadow.
        </div>
    </body>
</html>

And in Chrome 12.0.742.0 (latest dev version) the text-shadow does not display at all - it looks just like normal text. If you remove the third parameter (spread) it will render, but this is useless most of the time when you don't want a 1-pixel non-blurred shadow. How do I get it to display properly? I thought my syntax might be wrong but I don't think so because only some of the shadows on this page are shown in Chrome: http://www.w3.org/Style/Examples/007/text-shadow.

like image 469
Tom Sykes Avatar asked Apr 21 '11 20:04

Tom Sykes


1 Answers

Yea, I just updated to 12.0.742.0 and noticed the shadow disappeared from my website. I'm not going to worry about it unless it stays gone in future Chrome releases.

like image 182
Nate Avatar answered Nov 07 '22 12:11

Nate