[whatwg] Shadows

On Fri, 15 Jun 2007, Philip Taylor wrote:
>
> I've looked at how Safari renders shadows - the spec should probably 
> define something similar, since it works and it's not insane or 
> anything.

Done.


> One odd issue is with clearRect - Safari sort of applies shadows to 
> that, as in <http://canvex.lazyilluminati.com/misc/shadow/shadow4.html>, 
> except it ignores the colour and just uses the blur. It seems sensible 
> to just call that a bug, and require that shadows never apply to 
> clearRect since it doesn't go through the Drawing Model at all.

Fixed in the spec.


On Tue, 15 Jan 2008, Robert O'Rourke wrote:
> 
> I think what it says is OK but it could do with some diagrams and 
> example code to clarify it.

Yeah, we'll have to add lots of examples and diagrams in due course. I'm 
waiting for stability first, so I don't have to keep redrawing them and 
fixing the examples. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 16 January 2008 18:53:06 UTC