commit | 4aca3bede8c4b0b28d2ff5087fee8371a5a16393 | [log] [tgz] |
---|---|---|
author | eric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Thu Aug 14 00:30:04 2008 +0000 |
committer | eric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Thu Aug 14 00:30:04 2008 +0000 |
tree | 878ebf9d946f57501224783d6c7c022385804627 | |
parent | f0124f6c24f14c836abb77297debd47b60727eaa [diff] |
Reviewed by Sam. Match HTML5 spec by throwing INVALID_STATE_ERR when createPattern is called and the HTMLImageElement is not yet done loading the image (!isComplete) https://bugs.webkit.org/show_bug.cgi?id=20351 Test: http/misc/canvas-pattern-from-incremental-image.html * html/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::createPattern): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35733 268f45cc-cd09-0410-ab3c-d52691b4dbfc