Well, I guess that is the big question. Personally, I think most of the time I wouldn't mind having the show continue fully under the box, but it might be useful at times to turn that off, perhaps with an extra parameter to box-shadow to say if that it is knockout (defaulting to "not"). It is interesting to note that when combining text-shadow with opacity that the shadow does not show through the letters. It does seem as though there should be some consistency between the text- shadow and box-shadow. On Dec 18, 2007, at 10:55 AM, David Hyatt wrote: > > I was trying to match the spec text at the time. It seems to make > sense given the decorative effect that box-shadow is trying to > achieve. For example if a box has a partially transparent > background, I don't think you want to be able to see the box shadow > behind that background. > > dave > > On Dec 18, 2007, at 10:47 AM, Brad Kemper wrote: > >> >> On Dec 17, 2007, at 4:01 PM, David Hyatt wrote: >> >>> >>> WebKit's implementation does not allow the shadow to draw >>> anywhere inside the border box. Effectively it is as though the >>> shadow is being cast by an opaque solid color pattern with the >>> shape of the border box. >>> >>> dave >>> >> >> Is that due to an inherent limitation of the way WebKit draws >> shapes, or is it just the way you decided to implement it? > >Received on Wednesday, 19 December 2007 15:54:35 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:24 UTC