4 https://bugzilla.mozilla.org/show_bug.cgi?id=753758
7 <title>Test for Bug
753758</title>
8 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=753758">Mozilla Bug
753758</a>
14 <div id=
"content" style=
"display: none">
18 <script type=
"application/javascript">
20 /** Test for Bug
753758 **/
22 var c = document.createElement(
"canvas");
24 var ctx = c.getContext(
"2d");
25 ctx.mozFillRule = 'evenodd';
26 is(ctx.mozFillRule, 'evenodd', 'Initial value must be set to evenodd');
28 is(ctx.mozFillRule, 'evenodd', 'fillRule value must be stay evenodd');
30 is(ctx.mozFillRule, 'evenodd', 'fillRule value must be restored to evenodd');