Review Request 108751: khtml/canvas: Do not throw an exception if width/height values are negative for fillRect

Bernd Buschinski b.buschinski at googlemail.com
Sun Feb 3 16:43:21 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108751/
-----------------------------------------------------------

Review request for kdelibs.


Description
-------

khtml/canvas: Do not throw an exception if width/height values are negative for fillRect,
but do nothing if width/height are zero

According to:
http://philip.html5.org/tests/canvas/suite/tests/spec.html#testrefs.2d.fillRect
and test:
http://philip.html5.org/tests/canvas/suite/tests/2d.fillRect.negative.html


Diffs
-----

  khtml/html/html_canvasimpl.cpp 93d5db7 

Diff: http://git.reviewboard.kde.org/r/108751/diff/


Testing
-------


Thanks,

Bernd Buschinski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130203/25974b7a/attachment.htm>


More information about the kde-core-devel mailing list