diff options
author | junov@chromium.org <junov@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-03-05 22:19:19 +0000 |
---|---|---|
committer | junov@chromium.org <junov@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-03-05 22:19:19 +0000 |
commit | b1a23750289c036bce8917012104440a36cc3fcb (patch) | |
tree | 02c7aef5db623800dc3fd0151dfad4316df8b6fc /third_party/WebKit/LayoutTests/fast/canvas/fillrect-gradient-zero-stops.html | |
parent | e7f3815d1a060163a427699618d869d23d5e3031 (diff) | |
download | chromium_src-b1a23750289c036bce8917012104440a36cc3fcb.zip chromium_src-b1a23750289c036bce8917012104440a36cc3fcb.tar.gz chromium_src-b1a23750289c036bce8917012104440a36cc3fcb.tar.bz2 |
Convert some pixel tests in fast/canvas into ref tests.
This change removes many pixel baselines that were trivial enough
to be expressed as reference html. Some of the tests were slightly
modified to make them work as ref tests.
R=senorblanco@chromium.org
BUG=349536
Review URL: https://codereview.chromium.org/187393007
git-svn-id: svn://svn.chromium.org/blink/trunk@168540 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/canvas/fillrect-gradient-zero-stops.html')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/canvas/fillrect-gradient-zero-stops.html | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/fillrect-gradient-zero-stops.html b/third_party/WebKit/LayoutTests/fast/canvas/fillrect-gradient-zero-stops.html index 10856fa..2aa5022a 100644 --- a/third_party/WebKit/LayoutTests/fast/canvas/fillrect-gradient-zero-stops.html +++ b/third_party/WebKit/LayoutTests/fast/canvas/fillrect-gradient-zero-stops.html @@ -3,14 +3,9 @@ The canvas below should show a gradient with zero stops, which according to the specification is filled with transparant black, ie. not visible. This tests <a href="http://bugs.webkit.org/show_bug.cgi?id=13784">Bug 13784, REGRESSION (r13744-13750): Crash with empty gradient when drawing to canvas</a></p> <canvas id="c"></canvas> <script> -if (window.testRunner) - testRunner.dumpAsTextWithPixelResults(); - window.onload = function () { var ctx = document.getElementById('c').getContext('2d'); ctx.fillStyle = ctx.createLinearGradient(0, 0, 0, 50); ctx.fillRect(0, 0, 300, 150); - ctx.strokeRect(0, 0, 300, 150); -} </script> </body> |