[css3-background] Default color of box shadows

The description of box-shadow according to the Backgrounds and Borders 3
module says:

> The ‘box-shadow’ property attaches one or more drop-shadows to the
> box. The property is a comma-separated list of shadows, each
> specified by 2-4 length values, an optional color, and an optional
> ‘inset’ keyword. Omitted lengths are 0; omitted colors are a
> UA-chosen color.

But in the description of each <shadow>, it says:

> The color is the color of the shadow. If the color is absent, the
> used color is taken from the ‘color’ property.

Current implementations appear to use currentColor across the board; 
older versions from a couple of years ago made their own choices (in 
particular, Gecko chose black while WebKit chose transparent). As far as 
I'm aware, before the module reverted to WD status it was never stated 
to use currentColor, so it was in fact left up to the implementation to 
decide. The decision to use currentColor was only added to the newer 
draft (which has since of course returned to CR), and implementations 
have updated since.

However, the "UA-chosen color" portion remains, so the current prose is 
somewhat contradictory. Is it still up to the UA to choose, or must a 
box shadow be currentColor if the color value is not specified now?

-- 
Daniel Tan/BoltClock
NOVALISTIC • Stellar Software Development & Design
<http://NOVALISTIC.com>

Received on Wednesday, 6 February 2013 11:56:02 UTC