OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st
rict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st
rict.dtd"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>CSS Test: Counter-increment tests</title> | 4 <title>CSS Test: Counter-increment tests</title> |
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> | 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> |
6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters
"> | 6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters
"> |
7 <script src="../../js/resources/js-test-pre.js"></script> | 7 <script src="../../../resources/js-test.js"></script> |
8 <script> | 8 <script> |
9 if (window.testRunner) { | 9 if (window.testRunner) { |
10 testRunner.dumpAsText(); | 10 testRunner.dumpAsText(); |
11 testRunner.waitUntilDone(); | 11 testRunner.waitUntilDone(); |
12 } | 12 } |
13 function run() | 13 function run() |
14 { | 14 { |
15 // Some extra WebKit testing for counter-increment inherit | 15 // Some extra WebKit testing for counter-increment inherit |
16 shouldBe("window.internals.counterValue(document.getElementById(
'wrapper90'))", "'5'"); | 16 shouldBe("window.internals.counterValue(document.getElementById(
'wrapper90'))", "'5'"); |
17 shouldBe("window.internals.counterValue(document.getElementById(
'test90'))", "'10'"); | 17 shouldBe("window.internals.counterValue(document.getElementById(
'test90'))", "'10'"); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 <div id="test90a"></div> | 82 <div id="test90a"></div> |
83 </div> | 83 </div> |
84 </div> | 84 </div> |
85 <div id="wrapper91"> | 85 <div id="wrapper91"> |
86 <div id="test91"> | 86 <div id="test91"> |
87 <div id="test91a"></div> | 87 <div id="test91a"></div> |
88 </div> | 88 </div> |
89 </div> | 89 </div> |
90 </body> | 90 </body> |
91 </html> | 91 </html> |
OLD | NEW |