4 https://bugzilla.mozilla.org/show_bug.cgi?id=
7 <title>Test for Bug
</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=">Mozilla Bug
</a>
13 <div id=
"content"></div>
15 <script type=
"application/javascript">
20 element:
"<li type='i'></li>",
21 property:
"list-style-type",
25 element:
"<li type='I'></li>",
26 property:
"list-style-type",
30 element:
"<li type='a'></li>",
31 property:
"list-style-type",
35 element:
"<li type='A'></li>",
36 property:
"list-style-type",
40 element:
"<li type='1'></li>",
41 property:
"list-style-type",
45 element:
"<ol type='i'></ol>",
46 property:
"list-style-type",
50 element:
"<ol type='I'></ol>",
51 property:
"list-style-type",
55 element:
"<ol type='a'></ol>",
56 property:
"list-style-type",
60 element:
"<ol type='A'></ol>",
61 property:
"list-style-type",
65 element:
"<ol type='1'></ol>",
66 property:
"list-style-type",
71 var content = document.getElementById(
"content");
72 for (var i =
0; i < gValues.length; ++i) {
75 content.innerHTML = v.element;
76 is(getComputedStyle(content.firstChild,
"").getPropertyValue(v.property),
78 v.property +
" for " + v.element);