Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Canvas2D setTransform should be invertible tolerant. | dongseong.hwang@intel.com | 2013-09-12 | 1 | -7/+25 |
| | | | | | | | | | | | | | | | | | | | | | | Canvas spec indicates in http://www.w3.org/TR/2dcontext2/#dom-context-2d-settransform The setTransform(a, b, c, d, e, f) method must reset the current transform to the identity matrix, and then invoke the transform(a, b, c, d, e, f) method with the same arguments. Currently, setTransform returns immediately if current transform is not-invertible. This CL allows setTransform to change the current transform although the current transform is not-invertible. The implementation is the exactly same to the instruction of the spec. setTransform() calls resetTransform() and then transform(). BUG=290356 TEST=fast/canvas/canvas-setTransform.html Review URL: https://chromiumcodereview.appspot.com/23461050 git-svn-id: svn://svn.chromium.org/blink/trunk@157706 bbb929c8-8fbe-4397-9dbb-9b2b20218538 | ||||
* | JS Test Harness: Make successfullyParsed optional | arv@chromium.org | 2011-10-25 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=70784 Reviewed by Ojan Vafai. Tools: * Scripts/make-new-script-test: (writeTestFile): Update the template for script tests. LayoutTests: This makes "successfullyParsed = true" optional in favor of tracking syntax errors using window.onerror. * fast/*: Remove successfullyParsed. * fast/dom/Window/new-window-opener.html: Cleanup. * fast/dom/Window/resources/window-appendages-cleared-results.html: * fast/dom/Window/webkitConvertPoint.html: Ditto. * fast/dom/Window/webkitConvertPointUpdateLayout.html: Ditto. * fast/js/kde/evil-n.html: This is now a normal test since it is not supposed to fail. * fast/js/kde/garbage-n-expected.txt: * fast/js/kde/garbage-n.html: Use shouldHaveHadError instead of js-test-post-n.js * fast/js/kde/string-1-n.html: Ditto. * fast/js/kde/string-2-n.html: Ditto. * fast/js/resources/js-test-post-async.js: Ensure we didn't get an error. * fast/js/resources/js-test-post-function.js: Ditto. * fast/js/resources/js-test-post-n.js: Removed. * fast/js/resources/js-test-pre.js: Added shouldHaveHadError function that can be used to assert that the error message is what was expected. Ensure we didn't get an error in finistJSTest. git-svn-id: svn://svn.chromium.org/blink/trunk@98407 bbb929c8-8fbe-4397-9dbb-9b2b20218538 | ||||
* | 2009-09-19 Shinichiro Hamaji <hamaji@chromium.org> | hamaji@chromium.org | 2009-09-19 | 1 | -0/+81 |
Rubber-stamped by Eric Seidel. js tests should move into jstests subdirectory instead of resources/ https://bugs.webkit.org/show_bug.cgi?id=25880 Migration for fast/canvas and fast/css directories. * fast/canvas/canvas-copyPixels.html: * fast/canvas/canvas-gradient-addStop-error.html: * fast/canvas/canvas-gradient-without-path.html: * fast/canvas/canvas-modify-emptyPath.html: * fast/canvas/canvas-set-properties-with-non-invertible-ctm.html: * fast/canvas/canvas-setTransform.html: * fast/canvas/canvas-strokeRect.html: * fast/canvas/canvas-transparency-and-composite.html: * fast/canvas/gradient-addColorStop-with-invalid-color.html: * fast/canvas/gradient-with-clip.html: * fast/canvas/linearGradient-infinite-values.html: * fast/canvas/pattern-with-transform.html: * fast/canvas/radialGradient-infinite-values.html: * fast/canvas/resources/TEMPLATE.html: Removed. * fast/canvas/resources/canvas-copyPixels.js: Removed. * fast/canvas/resources/canvas-gradient-addStop-error.js: Removed. * fast/canvas/resources/canvas-gradient-without-path.js: Removed. * fast/canvas/resources/canvas-modify-emptyPath.js: Removed. * fast/canvas/resources/canvas-set-properties-with-non-invertible-ctm.js: Removed. * fast/canvas/resources/canvas-setTransform.js: Removed. * fast/canvas/resources/canvas-strokeRect.js: Removed. * fast/canvas/resources/canvas-transparency-and-composite.js: Removed. * fast/canvas/resources/gradient-addColorStop-with-invalid-color.js: Removed. * fast/canvas/resources/gradient-with-clip.js: Removed. * fast/canvas/resources/linearGradient-infinite-values.js: Removed. * fast/canvas/resources/pattern-with-transform.js: Removed. * fast/canvas/resources/radialGradient-infinite-values.js: Removed. * fast/canvas/resources/set-colors.js: Removed. * fast/canvas/resources/translate-text.js: Removed. * fast/canvas/script-tests: Added. * fast/canvas/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/canvas/resources/TEMPLATE.html. * fast/canvas/script-tests/canvas-copyPixels.js: Copied from LayoutTests/fast/canvas/resources/canvas-copyPixels.js. * fast/canvas/script-tests/canvas-gradient-addStop-error.js: Copied from LayoutTests/fast/canvas/resources/canvas-gradient-addStop-error.js. * fast/canvas/script-tests/canvas-gradient-without-path.js: Copied from LayoutTests/fast/canvas/resources/canvas-gradient-without-path.js. * fast/canvas/script-tests/canvas-modify-emptyPath.js: Copied from LayoutTests/fast/canvas/resources/canvas-modify-emptyPath.js. * fast/canvas/script-tests/canvas-set-properties-with-non-invertible-ctm.js: Copied from LayoutTests/fast/canvas/resources/canvas-set-properties-with-non-invertible-ctm.js. * fast/canvas/script-tests/canvas-setTransform.js: Copied from LayoutTests/fast/canvas/resources/canvas-setTransform.js. * fast/canvas/script-tests/canvas-strokeRect.js: Copied from LayoutTests/fast/canvas/resources/canvas-strokeRect.js. * fast/canvas/script-tests/canvas-transparency-and-composite.js: Copied from LayoutTests/fast/canvas/resources/canvas-transparency-and-composite.js. * fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js: Copied from LayoutTests/fast/canvas/resources/gradient-addColorStop-with-invalid-color.js. * fast/canvas/script-tests/gradient-with-clip.js: Copied from LayoutTests/fast/canvas/resources/gradient-with-clip.js. * fast/canvas/script-tests/linearGradient-infinite-values.js: Copied from LayoutTests/fast/canvas/resources/linearGradient-infinite-values.js. * fast/canvas/script-tests/pattern-with-transform.js: Copied from LayoutTests/fast/canvas/resources/pattern-with-transform.js. * fast/canvas/script-tests/radialGradient-infinite-values.js: Copied from LayoutTests/fast/canvas/resources/radialGradient-infinite-values.js. * fast/canvas/script-tests/set-colors.js: Copied from LayoutTests/fast/canvas/resources/set-colors.js. * fast/canvas/script-tests/translate-text.js: Copied from LayoutTests/fast/canvas/resources/translate-text.js. * fast/canvas/set-colors.html: * fast/canvas/translate-text.html: * fast/css/getComputedStyle/computed-style-font-family-monospace.html: * fast/css/getComputedStyle/font-family-fallback-reset.html: * fast/css/getComputedStyle/getComputedStyle-text-decoration.html: * fast/css/getComputedStyle/resources/TEMPLATE.html: Removed. * fast/css/getComputedStyle/resources/computed-style-font-family-monospace.js: Removed. * fast/css/getComputedStyle/resources/font-family-fallback-reset.js: Removed. * fast/css/getComputedStyle/resources/getComputedStyle-text-decoration.js: Removed. * fast/css/getComputedStyle/script-tests: Added. * fast/css/getComputedStyle/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/css/getComputedStyle/resources/TEMPLATE.html. * fast/css/getComputedStyle/script-tests/computed-style-font-family-monospace.js: Copied from LayoutTests/fast/css/getComputedStyle/resources/computed-style-font-family-monospace.js. * fast/css/getComputedStyle/script-tests/font-family-fallback-reset.js: Copied from LayoutTests/fast/css/getComputedStyle/resources/font-family-fallback-reset.js. * fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js: Copied from LayoutTests/fast/css/getComputedStyle/resources/getComputedStyle-text-decoration.js. git-svn-id: svn://svn.chromium.org/blink/trunk@48550 bbb929c8-8fbe-4397-9dbb-9b2b20218538 |