Implementation of pattern fill style for canvas.

This commit is contained in:
Hyowon Kim 2015-05-14 10:08:10 +09:00
parent 2168ec3c96
commit 00240e5550
35 changed files with 165 additions and 157 deletions

View file

@ -1,5 +0,0 @@
[2d.composite.globalAlpha.imagepattern.html]
type: testharness
[Canvas test: 2d.composite.globalAlpha.imagepattern]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.composite.uncovered.pattern.copy.html]
type: testharness
[Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.composite.uncovered.pattern.destination-atop.html]
type: testharness
[Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.composite.uncovered.pattern.destination-in.html]
type: testharness
[Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.composite.uncovered.pattern.source-in.html]
type: testharness
[Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.composite.uncovered.pattern.source-out.html]
type: testharness
[Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,6 +0,0 @@
[2d.pattern.animated.gif.html]
type: testharness
expected: TIMEOUT
[createPattern() of an animated GIF draws the first frame]
expected: TIMEOUT

View file

@ -1,5 +0,0 @@
[2d.pattern.basic.image.html]
type: testharness
[Canvas test: 2d.pattern.basic.image]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.basic.type.html]
type: testharness
[Canvas test: 2d.pattern.basic.type]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.crosscanvas.html]
type: testharness
[Canvas test: 2d.pattern.crosscanvas]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.image.broken.html]
type: testharness
[Canvas test: 2d.pattern.image.broken]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.modify.image1.html]
type: testharness
[Canvas test: 2d.pattern.modify.image1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.modify.image2.html]
type: testharness
[Canvas test: 2d.pattern.modify.image2]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.norepeat.basic.html]
type: testharness
[Canvas test: 2d.pattern.paint.norepeat.basic]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.norepeat.coord1.html]
type: testharness
[Canvas test: 2d.pattern.paint.norepeat.coord1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.norepeat.coord2.html]
type: testharness
[Canvas test: 2d.pattern.paint.norepeat.coord2]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.norepeat.outside.html]
type: testharness
[Canvas test: 2d.pattern.paint.norepeat.outside]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.orientation.image.html]
type: testharness
[Image patterns do not get flipped when painted]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.repeat.basic.html]
type: testharness
[Canvas test: 2d.pattern.paint.repeat.basic]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.repeat.coord1.html]
type: testharness
[Canvas test: 2d.pattern.paint.repeat.coord1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.repeat.coord2.html]
type: testharness
[Canvas test: 2d.pattern.paint.repeat.coord2]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.repeat.coord3.html]
type: testharness
[Canvas test: 2d.pattern.paint.repeat.coord3]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.repeat.outside.html]
type: testharness
[Canvas test: 2d.pattern.paint.repeat.outside]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.repeatx.basic.html]
type: testharness
[Canvas test: 2d.pattern.paint.repeatx.basic]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.repeatx.outside.html]
type: testharness
[Canvas test: 2d.pattern.paint.repeatx.outside]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.repeaty.basic.html]
type: testharness
[Canvas test: 2d.pattern.paint.repeaty.basic]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.pattern.paint.repeaty.outside.html]
type: testharness
[Canvas test: 2d.pattern.paint.repeaty.outside]
expected: FAIL

View file

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

View file

@ -6744,9 +6744,6 @@
[CanvasRenderingContext2D interface: attribute currentTransform]
expected: FAIL
[CanvasRenderingContext2D interface: operation createPattern(CanvasImageSource,DOMString)]
expected: FAIL
[CanvasRenderingContext2D interface: operation drawSystemFocusRing(Element)]
expected: FAIL
@ -6837,12 +6834,6 @@
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "fillStyle" with the proper type (17)]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "createPattern" with the proper type (20)]
expected: FAIL
[CanvasRenderingContext2D interface: calling createPattern(CanvasImageSource,DOMString) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "drawSystemFocusRing" with the proper type (33)]
expected: FAIL