Review Request 108732: khtml/canvas: Ignore invalid values for setting the lineWidth instead of throwing an exception.

Bernd Buschinski b.buschinski at googlemail.com
Sun Feb 3 16:41:06 GMT 2013


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

Review request for kdelibs.


Description
-------

khtml/canvas: Ignore invalid values for setting the lineWidth instead of throwing an exception.
    
According to:
http://philip.html5.org/tests/canvas/suite/tests/spec.html#testrefs.2d.lineWidth.invalid
and the test
http://philip.html5.org/tests/canvas/suite/tests/2d.line.width.invalid.html
    
Also introduce and use new functions for this check.


Diffs
-----

  khtml/ecma/kjs_context2d.cpp de9870d 

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


Testing
-------


Thanks,

Bernd Buschinski

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


More information about the kde-core-devel mailing list