OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 <style> | 5 <style> |
6 #test { | 6 #test { |
7 width: 400px; | 7 width: 400px; |
8 margin: 10px; | 8 margin: 10px; |
9 } | 9 } |
10 #test > div { | 10 #test > div { |
11 margin: 1ex; | 11 margin: 1ex; |
12 } | 12 } |
13 #outline { | 13 #outline { |
14 outline: 2px solid red; | 14 outline: 2px solid red; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 shouldBe("computedStyleFor('content', 'after', 'content')", '"\'test \' url(data
:image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACwAAAAAAQABAAACAgQBADs=)"'); | 69 shouldBe("computedStyleFor('content', 'after', 'content')", '"\'test \' url(data
:image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACwAAAAAAQABAAACAgQBADs=)"'); |
70 shouldBe("computedStyleFor('counter', null, 'counter-reset')", "'section 0'"); | 70 shouldBe("computedStyleFor('counter', null, 'counter-reset')", "'section 0'"); |
71 var str = computedStyleFor('subcounter', null, 'counter-reset'); | 71 var str = computedStyleFor('subcounter', null, 'counter-reset'); |
72 shouldBe("str.indexOf('subsection 0') != -1", "true"); | 72 shouldBe("str.indexOf('subsection 0') != -1", "true"); |
73 shouldBe("str.indexOf('anothercounter 5') != -1", "true"); | 73 shouldBe("str.indexOf('anothercounter 5') != -1", "true"); |
74 shouldBe("computedStyleFor('counter1', 'before', 'counter-increment')", "'sectio
n 1'"); | 74 shouldBe("computedStyleFor('counter1', 'before', 'counter-increment')", "'sectio
n 1'"); |
75 shouldBe("computedStyleFor('subcounter2', 'before', 'counter-increment')", "'sub
section 1'"); | 75 shouldBe("computedStyleFor('subcounter2', 'before', 'counter-increment')", "'sub
section 1'"); |
76 shouldBe("computedStyleFor('subcounter2', 'before', 'content')", '"counter(secti
on) \'.\' counter(subsection) \'. \'"'); | 76 shouldBe("computedStyleFor('subcounter2', 'before', 'content')", '"counter(secti
on) \'.\' counter(subsection) \'. \'"'); |
77 </script> | 77 </script> |
78 </html> | 78 </html> |
OLD | NEW |