| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel=stylesheet href="../../js/resources/js-test-style.css"> | 3 <link rel=stylesheet href="../../js/resources/js-test-style.css"> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 <style> | 5 <style> |
| 6 body { | 6 body { |
| 7 counter-reset: section; | 7 counter-reset: section; |
| 8 } | 8 } |
| 9 h1 { | 9 h1 { |
| 10 counter-increment: section; | 10 counter-increment: section; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 var rules = document.styleSheets[1].cssRules; | 30 var rules = document.styleSheets[1].cssRules; |
| 31 shouldBeEqualToString("rules[2].style.cssText", "content: counter(section, decim
al); "); | 31 shouldBeEqualToString("rules[2].style.cssText", "content: counter(section, decim
al); "); |
| 32 shouldBeEqualToString("rules[3].style.cssText", "content: counters(section, ':',
decimal); "); | 32 shouldBeEqualToString("rules[3].style.cssText", "content: counters(section, ':',
decimal); "); |
| 33 shouldBeEqualToString("rules[4].style.cssText", "content: counter(section, lower
-roman); "); | 33 shouldBeEqualToString("rules[4].style.cssText", "content: counter(section, lower
-roman); "); |
| 34 shouldBeEqualToString("rules[5].style.cssText", "content: counters(section, ',',
upper-roman); "); | 34 shouldBeEqualToString("rules[5].style.cssText", "content: counters(section, ',',
upper-roman); "); |
| 35 window.successfullyParsed = true; | 35 window.successfullyParsed = true; |
| 36 </script> | 36 </script> |
| 37 <script src="../../js/resources/js-test-post.js"></script> | 37 <script src="../../js/resources/js-test-post.js"></script> |
| 38 </body> | 38 </body> |
| 39 </html> | 39 </html> |
| OLD | NEW |