Re: drawImage() shouldn't throw INVALID_STATE_ERR

On Fri, 28 Aug 2009, Simon Pieters wrote:
>
> On Fri, 28 Aug 2009 03:03:19 +0200, Ian Hickson <ian@hixie.ch> wrote:
> 
> > > It should return null, which will be ignored when set on fillStyle and
> > > strokeStyle.
> > 
> > Done. (It still doesn't return false, though, since you can detect this
> > case yourself if you really care.)
> 
> You forgot to update the dom-intro boxes.

Fixed.


On Mon, 31 Aug 2009, Philip Jägenstedt wrote:
> 
> It looks like you missed two instances of INVALID_STATE_ERR, in the 
> green boxes for context.drawImage and context.createPattern. I can't 
> tell if these boxes are normative spec text or just a summary of the 
> information below, but that's not the point here...

http://www.whatwg.org/specs/web-apps/current-work/#typographic-conventions
http://www.whatwg.org/specs/web-apps/current-work/#conformance-requirements

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

Received on Wednesday, 2 September 2009 21:51:42 UTC