Implement drawing shadows in canvas.

This commit is contained in:
Hyowon Kim 2015-06-09 15:55:16 +09:00
parent 24af4c4ec6
commit 465cea8db5
30 changed files with 134 additions and 204 deletions

View file

@ -1,5 +0,0 @@
[2d.fillRect.shadow.html]
type: testharness
[fillRect draws shadows]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.alpha.2.html]
type: testharness
[Shadow colour alpha components are used]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.alpha.3.html]
type: testharness
[Shadows are affected by globalAlpha]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.alpha.4.html]
type: testharness
[Shadows with alpha components are correctly affected by globalAlpha]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.alpha.5.html]
type: testharness
[Shadows of shapes with alpha components are drawn correctly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.canvas.alpha.html]
type: testharness
[Shadows are drawn correctly for partially-transparent canvases]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.canvas.basic.html]
type: testharness
[Shadows are drawn for canvases]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.canvas.transparent.2.html]
type: testharness
[Shadows are not drawn for transparent parts of canvases]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.clip.1.html]
type: testharness
[Shadows of clipped shapes are still drawn within the clipping region]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.clip.3.html]
type: testharness
[Shadows of clipped shapes are still drawn within the clipping region]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.composite.1.html]
type: testharness
[Shadows are drawn using globalCompositeOperation]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.composite.2.html]
type: testharness
[Shadows are drawn using globalCompositeOperation]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.gradient.alpha.html]
type: testharness
[Shadows are drawn correctly for partially-transparent gradient fills]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.gradient.basic.html]
type: testharness
[Shadows are drawn for gradient fills]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.gradient.transparent.2.html]
type: testharness
[Shadows are not drawn for transparent parts of gradient fills]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.image.alpha.html]
type: testharness
[Shadows are drawn correctly for partially-transparent images]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.image.basic.html]
type: testharness
[Shadows are drawn for images]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.image.scale.html]
type: testharness
[Shadows are drawn correctly for scaled images]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.image.transparent.2.html]
type: testharness
[Shadows are not drawn for transparent parts of images]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.offset.negativeX.html]
type: testharness
[Shadows can be offset with negative x]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.offset.negativeY.html]
type: testharness
[Shadows can be offset with negative y]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.offset.positiveX.html]
type: testharness
[Shadows can be offset with positive x]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.offset.positiveY.html]
type: testharness
[Shadows can be offset with positive y]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.outside.html]
type: testharness
[Shadows of shapes outside the visible area can be offset onto the visible area]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.pattern.alpha.html]
type: testharness
[Shadows are drawn correctly for partially-transparent fill patterns]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.pattern.basic.html]
type: testharness
[Shadows are drawn for fill patterns]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.pattern.transparent.2.html]
type: testharness
[Shadows are not drawn for transparent parts of fill patterns]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.transform.1.html]
type: testharness
[Shadows take account of transformations]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.shadow.transform.2.html]
type: testharness
[Shadow offsets are not affected by transformations]
expected: FAIL