| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style type="text/css"> | 3 <style type="text/css"> |
| 4 .pass { color: green; } | 4 .pass { color: green; } |
| 5 .fail { color: red; } | 5 .fail { color: red; } |
| 6 </style> | 6 </style> |
| 7 <style type="text/css"> | 7 <style type="text/css"> |
| 8 .foo { color: black; } | 8 .foo { color: black; } |
| 9 @media screen { | 9 @media screen { |
| 10 .bar { color: blue; } | 10 .bar { color: blue; } |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 type: 'CSSKeyframesRule', | 71 type: 'CSSKeyframesRule', |
| 72 elementToUse: keyframesRule, | 72 elementToUse: keyframesRule, |
| 73 attributes: [ | 73 attributes: [ |
| 74 {name: 'name', expectedNull: 'null'} | 74 {name: 'name', expectedNull: 'null'} |
| 75 ] | 75 ] |
| 76 }, | 76 }, |
| 77 { | 77 { |
| 78 type: 'CSSPageRule', | 78 type: 'CSSPageRule', |
| 79 elementToUse: pageRule, | 79 elementToUse: pageRule, |
| 80 attributes: [ | 80 attributes: [ |
| 81 {name: 'selectorText', expectedNull: '@page null'} | 81 {name: 'selectorText', expectedNull: 'null'} |
| 82 ] | 82 ] |
| 83 }, | 83 }, |
| 84 { | 84 { |
| 85 type: 'CSSStyleRule', | 85 type: 'CSSStyleRule', |
| 86 elementToUse: rule, | 86 elementToUse: rule, |
| 87 attributes: [ | 87 attributes: [ |
| 88 {name: 'selectorText', expectedNull: 'null'} | 88 {name: 'selectorText', expectedNull: 'null'} |
| 89 ] | 89 ] |
| 90 }, | 90 }, |
| 91 { | 91 { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 115 printOut(''); | 115 printOut(''); |
| 116 } | 116 } |
| 117 } | 117 } |
| 118 </script> | 118 </script> |
| 119 </head> | 119 </head> |
| 120 <body onload="runTests()"> | 120 <body onload="runTests()"> |
| 121 <p>This test setting various attributes of a CSSOM elements to JavaScript nu
ll.</p> | 121 <p>This test setting various attributes of a CSSOM elements to JavaScript nu
ll.</p> |
| 122 <div id="console"></div> | 122 <div id="console"></div> |
| 123 </body> | 123 </body> |
| 124 </html> | 124 </html> |
| OLD | NEW |