diff options
author | pavan.e@samsung.com <pavan.e@samsung.com> | 2014-09-10 15:47:06 +0000 |
---|---|---|
committer | pavan.e@samsung.com <pavan.e@samsung.com> | 2014-09-10 15:47:06 +0000 |
commit | f7028d961fb1cfd5d0f4abaecb582c61e0231c1f (patch) | |
tree | dd82e952d19beaf1d6ee75c0422c539e716a2cea /third_party/WebKit/LayoutTests/fast/canvas/canvas-pattern-set-transform.html | |
parent | ffd973612f29572c00ea4a1a7530685486cc9c55 (diff) | |
download | chromium_src-f7028d961fb1cfd5d0f4abaecb582c61e0231c1f.zip chromium_src-f7028d961fb1cfd5d0f4abaecb582c61e0231c1f.tar.gz chromium_src-f7028d961fb1cfd5d0f4abaecb582c61e0231c1f.tar.bz2 |
Support CanvasPattern.setTransform
Patterns have a transformation matrix, which controls how the pattern is used when it is painted.
Initially, a pattern's transformation matrix must be the identity transform.
When the setTransform() method is invoked on the pattern, the user agent must replace the pattern's
transformation matrix with the one described by the SVGMatrix object provided as an argument to the method.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-canvaspattern-settransform
IDL Definition: http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting.html#2dcontext:dom-canvaspattern-settransform
Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/dUt2_2xn3NU
BUG=289572
R=junov@chromium.org
Review URL: https://codereview.chromium.org/527193002
git-svn-id: svn://svn.chromium.org/blink/trunk@181737 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/canvas/canvas-pattern-set-transform.html')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/canvas/canvas-pattern-set-transform.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-pattern-set-transform.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-pattern-set-transform.html new file mode 100644 index 0000000..d870d60 --- /dev/null +++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-pattern-set-transform.html @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> +<html> +<head> +<script src="../../resources/js-test.js"></script> +</head> +<body> +<script src="script-tests/canvas-pattern-set-transform.js"></script> +</body> +</html> |