W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [CSS4] box-shadow and box-shadow inset

From: Alan Gresley <alan@css-class.com>
Date: Wed, 01 Sep 2010 22:57:43 +1000
Message-ID: <4C7E4DC7.1080307@css-class.com>
To: Masataka Yakura <myakura.web@gmail.com>
CC: CSS 3 W3C Group <www-style@w3.org>
Masataka Yakura wrote:
> On Wed, Sep 1, 2010 at 7:44 PM, Alan Gresley <alan@css-class.com> wrote:
>> After reading the 'Minutes and Resolutions Oslo F2F 2010' I still do not
>> like the current proposal. I believe that CSS4 Backgrounds and Border should
>> be moved to CR and that box-shadow should be shipped without vendor
>> prefixes.
>>
>> My question is how does one apply a box-shadow and box-shadow inset on the
>> same element? The following just doesn't work.
>>
>> div {
>>  width: 100px;
>>  height: 100px;
>>  box-shadow: inset 5px 5px 10px black;
>>  box-shadow: 5px 5px 10px black;
>>
>>
>> <div>A box situated in Seattle</div>
> 
> box-shadow can take a comma-separated list of shadows so the following
> should work:
> 
>   box-shadow: inset 5px 5px 10px black, 5px 5px 10px black;

Well I have been out of the loop. Ok, this is good, very good. I see 
that this works fine apart from the issue with scrolling in overflow 
with box-shadow inset behaving like background-attachment: fixed 
(mentioned by Brad Kemper). Can the module be moved to CR so we can 
drop vendor prefixes. Please.


-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Wednesday, 1 September 2010 12:58:17 GMT

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