W3C home > Mailing lists > Public > www-style@w3.org > November 2007

[CSS3 Text] shadow stacking levels

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 03 Nov 2007 01:03:33 -0400
Message-ID: <472C0125.6080408@inkedblade.net>
To: www-style@w3.org

Unlike text-decoration, text-shadow according to its current CSS3 Text definition
inherits and is painted by each text run's parent element. With that premise,
given the style rule
   span { text-shadow: ...; }
the HTML snippets
   <span>sometext</span>
and
   <span>some</span><span>text</span>
won't be rendered the same: the shadow of the next element will overlap the
foreground text of the previous. That just looks wrong. Is there some
way to specify text-shadow so that that doesn't happen?

~fantasai
Received on Saturday, 3 November 2007 05:03:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:56 GMT