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

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


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

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


Status
------

This change has been marked as submitted.


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


More information about the kde-core-devel mailing list