W3C home > Mailing lists > Public > www-style@w3.org > June 2012

[css3-text] text-shadow offsets: physical, not relative

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Tue, 5 Jun 2012 00:36:12 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178290A35B7E8@TK5EX14MBXC262.redmond.corp.microsoft.com>
The current definition of text-shadow [1] css3-text depends on the 
definition of the <shadow> type in css3-background [2].

The horizontal and vertical offset components use positive values to 
push the shadow towards the right and bottom, respectively. Though it's
not strictly defined whether the right and bottom are physical or relative,
interop and the decorative box-level effect of the original feature suggest 
these offsets relate to physical directions i.e. they are independent of 
content direction.

I suspect it would be highly confusing at this stage to make <shadow> do
otherwise for text but it may be helpful for css3-text to be clear on this 
matter. 

[1] http://dev.w3.org/csswg/css3-text/#text-shadow
[2] http://dev.w3.org/csswg/css3-background/#the-box-shadow
Received on Tuesday, 5 June 2012 00:37:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT