cocos2d/cocos2d-html5 — pull request #1413 by pandamicro (2014-01-02 12:04:49+00:00)
Title: Fixed #3569: Use viewport to clearRect

And also: limit Canvas size for FixedWidth and FixedHeight mode