| Index: LayoutTests/fast/canvas/canvas-hit-regions-fill-rule-test.html
|
| diff --git a/LayoutTests/fast/canvas/canvas-hit-regions-fill-rule-test.html b/LayoutTests/fast/canvas/canvas-hit-regions-fill-rule-test.html
|
| index 591f7318610c6bad14b844a377ccbb5ae80872cf..5bdbe3cefd829c92a2ee17d099eabca1a6da0be4 100644
|
| --- a/LayoutTests/fast/canvas/canvas-hit-regions-fill-rule-test.html
|
| +++ b/LayoutTests/fast/canvas/canvas-hit-regions-fill-rule-test.html
|
| @@ -77,7 +77,19 @@
|
|
|
| context.removeHitRegion("nonzero");
|
|
|
| - shouldThrow('context.addHitRegion({id : "nonzero", fillRule : null });');
|
| + context.addHitRegion({
|
| + id : "nonzero",
|
| + fillRule : null
|
| + });
|
| +
|
| + debug("fillRule = null, falls back to default (nonzero):");
|
| + shouldBe("clickCanvas(1, 1)", "'nonzero'");
|
| + shouldBe("clickCanvas(99, 98)", "'nonzero'");
|
| + shouldBe("clickCanvas(21, 21)", "'nonzero'");
|
| + shouldBe("clickCanvas(50, 50)", "'nonzero'");
|
| + debug("");
|
| +
|
| + context.removeHitRegion("nonzero");
|
|
|
| context.addHitRegion({
|
| id : "nonzero",
|
|
|