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

Commit Hook null at kde.org
Sat Mar 30 15:15:49 GMT 2013


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

(Updated March 30, 2013, 3:15 p.m.)


Status
------

This change has been marked as submitted.


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/20130330/d8a8f9d7/attachment.htm>


More information about the kde-core-devel mailing list