blob: a2cc055a6d34c9559561b5233ad1459b35a9cb95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
function run()
{
var a = getComputedStyle(document.getElementById("s1"), "").listStyleType;
var b = getComputedStyle(document.getElementById("s3"), "").listStyleType;
}
</script>
<style type="text/css">
body { display: none } /* so we control the order of the ComputeListData calls */
#s1, #s2, #s3 {
list-style-image: none;
list-style-position: outside;
list-style-type: disc;
}
#s2, #s3 {
list-style-type: disc;
}
</style>
</head>
<body onload="run();">
<div id="s1"><div id="s2"><div id="s3"></div></div></div>
</body>
</html>
|