W3C home > Mailing lists > Public > www-style@w3.org > March 2013

[css3-conditional] box-shadow example

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 1 Mar 2013 23:34:52 -0800
Message-Id: <BF381467-E8F5-44DD-AEE1-B301E34FC1E6@gmail.com>
To: www-style list <www-style@w3.org>, "L. David Baron" <dbaron@dbaron.org>
In example 7 of "CSS Conditional Rules Module Level 3" [1], it claims that the @supports is grouping the 'color:white' rule with the 'box-shadow' rules, because the white text would be invisible if box-shadow wasn't supported. That would be true of 'text-shadow' (if the background and everything behind it was white or transparent), but the box-shadow in the example wouldn't make any difference. It goes around the outside of the box, and wouldn't be underneath the text normally (unless we are somehow assuming a negative indent, or a child element with negative margins or something). 

1) http://www.w3.org/TR/css3-conditional/#at-supports
Received on Saturday, 2 March 2013 07:35:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:09 UTC