| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../../http/tests/inspector/elements-test.js"></script> | 4 <script src="../../../http/tests/inspector/elements-test.js"></script> |
| 5 <script> | 5 <script> |
| 6 | 6 |
| 7 function test() | 7 function test() |
| 8 { | 8 { |
| 9 function flattenRuleRanges(rule) | 9 function flattenRuleRanges(rule) |
| 10 { | 10 { |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 { | 159 { |
| 160 InspectorTest.addResult("\n\n#### AFTER PROPERTY DISABLED ####\n\n"); | 160 InspectorTest.addResult("\n\n#### AFTER PROPERTY DISABLED ####\n\n"); |
| 161 InspectorTest.dumpSelectedElementStyles(true, false, true); | 161 InspectorTest.dumpSelectedElementStyles(true, false, true); |
| 162 var rules = getMatchedRules(); | 162 var rules = getMatchedRules(); |
| 163 validateRuleRanges(rules, InspectorTest.completeTest.bind(InspectorTest)
); | 163 validateRuleRanges(rules, InspectorTest.completeTest.bind(InspectorTest)
); |
| 164 } | 164 } |
| 165 | 165 |
| 166 InspectorTest.selectNodeAndWaitForStyles("container", insertProperty); | 166 InspectorTest.selectNodeAndWaitForStyles("container", insertProperty); |
| 167 } | 167 } |
| 168 </script> | 168 </script> |
| 169 <link rel="stylesheet" href="resources/styles-update-links-2.css"></link> |
| 169 <link rel="stylesheet" href="resources/styles-update-links.css"></link> | 170 <link rel="stylesheet" href="resources/styles-update-links.css"></link> |
| 170 </head> | 171 </head> |
| 171 | 172 |
| 172 <body onload="runTest()"> | 173 <body onload="runTest()"> |
| 173 <p> | 174 <p> |
| 174 Tests that removal of property following its disabling works. | 175 Tests that removal of property following its disabling works. |
| 175 </p> | 176 </p> |
| 176 | 177 |
| 177 <div id="container" class="left-intact should-change"> | 178 <div id="container" class="left-intact should-change"> |
| 178 Red text here. | 179 Red text here. |
| 179 </div> | 180 </div> |
| 180 | 181 |
| 181 <div id="other"></div> | 182 <div id="other"></div> |
| 182 | 183 |
| 183 </body> | 184 </body> |
| 184 </html> | 185 </html> |
| OLD | NEW |