Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <script> |
michael@0 | 4 | |
michael@0 | 5 | function run() |
michael@0 | 6 | { |
michael@0 | 7 | var a = getComputedStyle(document.getElementById("s1"), "").listStyleType; |
michael@0 | 8 | var b = getComputedStyle(document.getElementById("s3"), "").listStyleType; |
michael@0 | 9 | } |
michael@0 | 10 | |
michael@0 | 11 | </script> |
michael@0 | 12 | |
michael@0 | 13 | <style type="text/css"> |
michael@0 | 14 | |
michael@0 | 15 | body { display: none } /* so we control the order of the ComputeListData calls */ |
michael@0 | 16 | |
michael@0 | 17 | #s1, #s2, #s3 { |
michael@0 | 18 | -moz-image-region: auto; |
michael@0 | 19 | list-style-image: none; |
michael@0 | 20 | list-style-position: outside; |
michael@0 | 21 | list-style-type: disc; |
michael@0 | 22 | } |
michael@0 | 23 | |
michael@0 | 24 | #s2, #s3 { |
michael@0 | 25 | list-style-type: disc; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | </style> |
michael@0 | 29 | </head> |
michael@0 | 30 | |
michael@0 | 31 | <body onload="run();"> |
michael@0 | 32 | |
michael@0 | 33 | <div id="s1"><div id="s2"><div id="s3"></div></div></div> |
michael@0 | 34 | |
michael@0 | 35 | </body> |
michael@0 | 36 | </html> |