Review Request 108752: khtml/canvas: Do not throw an exception if width/height are negative for strokeRect

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


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

Review request for kdelibs.


Description
-------

khtml/canvas: Do not throw an exception if width/height are negative for strokeRect, they are supported and work.
But do nothing if width AND height are zero.

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


Diffs
-----

  khtml/html/html_canvasimpl.cpp 93d5db7 

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


Testing
-------


Thanks,

Bernd Buschinski

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


More information about the kde-core-devel mailing list