.flake8
author Jeremy Chen <jeremychen@mozilla.com>
Wed, 13 Sep 2017 17:39:07 +0800
changeset 431697 9044841344c9af963ed30293d8c5ecea0ee23845
parent 427303 0145883aea3a74740298a2dc3072e4a4e80c8570
child 454742 2d0766c3e7c94d7af3e40b8069aa8e3d6d4071aa
permissions -rw-r--r--
Bug 1394284 - add fallback discrete procedure for transform animation. r=boris,hiro According to the spec, if one of the matrices for transform interpolation is non-invertible, the used animation function must fall-back to a discrete animation. However, in the current implementation, we always use an identity matrix as a fallback for the non-invertible matrix. Decompose2DMatrix and Decompose3DMatrix both return a boolean, but we just never use it. So, in this patch, we use the returned boolean from the matrix decomposition as a condition, and do the fallback discrete procedure for the non-invertible matrices case. MozReview-Commit-ID: E7i1a1MJOXN

[flake8]
# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402
max-line-length = 99
exclude =
    testing/mochitest/pywebsocket,