| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 | 3 |
| 4 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 4 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 5 <script src="../../../http/tests/inspector/elements-test.js"></script> | 5 <script src="../../../http/tests/inspector/elements-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 var formattedStyle; | 10 var formattedStyle; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 return; | 70 return; |
| 71 InspectorTest.addResult("raw cssText:"); | 71 InspectorTest.addResult("raw cssText:"); |
| 72 InspectorTest.addResult("{" + style.cssText + "}"); | 72 InspectorTest.addResult("{" + style.cssText + "}"); |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 </script> | 75 </script> |
| 76 | 76 |
| 77 <style> | 77 <style> |
| 78 | 78 |
| 79 #formatted { | 79 #formatted { |
| 80 property1: value1; | 80 color: red; |
| 81 property2: value2 | 81 margin: 0 |
| 82 } | 82 } |
| 83 | 83 |
| 84 </style> | 84 </style> |
| 85 </head> | 85 </head> |
| 86 | 86 |
| 87 <body id="mainBody" onload="runTest()"> | 87 <body id="mainBody" onload="runTest()"> |
| 88 <p> | 88 <p> |
| 89 Verifies that formatter adds a semicolon when enabling property. | 89 Verifies that formatter adds a semicolon when enabling property. |
| 90 </p> | 90 </p> |
| 91 <div id="formatted">Formatted</div> | 91 <div id="formatted">Formatted</div> |
| 92 </body> | 92 </body> |
| 93 </html> | 93 </html> |
| OLD | NEW |