[whatwg] [html5] createPattern() with image being of the wrong type

Anne van Kesteren fora at annevankesteren.nl
Tue Mar 7 03:25:30 PST 2006


http://whatwg.org/specs/web-apps/current-work/#createpatternimage does not
specify what should happen when the image argument is of the wrong type. The
specification should probably say that in that case the TYPE_MISMATCH_ERR
exception should be thrown just as it does for drawImage()...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>




More information about the whatwg mailing list