David Hyatt wrote: > > Rather than suppressing the shadow, what about using the border-image as > a mask when deciding how to draw the shadow? In theory it should be > possible to intelligently draw a more complex shadow for a border-image > object. Ok, so let's test this theory. Here's the definitions of the intended effect for normal borders: http://dev.w3.org/csswg/css3-background/#the-box-shadow # An outer box-shadow casts a shadow as if the border-box of the # element were opaque ... shadows the box onto the canvas, as if # it were lifted above the canvas # # An inner box-shadow casts a shadow as if everything outside the # padding edge were opaque ... shadows the canvas onto the box, # as if the box were cut out of the canvas and shifted behind it Is it possible to intelligently draw a complex shadow for this border-image? http://dev.w3.org/csswg/css3-background/border.png http://dev.w3.org/csswg/css3-background/borderresult.png Now imagine I said 'space' instead of 'round'. If you and roc are able to find a way to intelligently draw complex shadows for something like that, and are willing to implement it, I'll put it in the spec. If not, then we're back to box-shaped shadows and the suppress-or-not argument. ~fantasaiReceived on Tuesday, 17 February 2009 21:16:02 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:16 GMT