OLD | NEW |
1 function initialize_cssTest() | 1 function initialize_cssTest() |
2 { | 2 { |
3 | 3 |
4 InspectorTest.dumpStyleSheetText = function(styleSheetId, callback) | 4 InspectorTest.dumpStyleSheetText = function(styleSheetId, callback) |
5 { | 5 { |
6 InspectorTest.sendCommandOrDie("CSS.getStyleSheetText", { styleSheetId: styl
eSheetId }, onStyleSheetText); | 6 InspectorTest.sendCommandOrDie("CSS.getStyleSheetText", { styleSheetId: styl
eSheetId }, onStyleSheetText); |
7 function onStyleSheetText(result) | 7 function onStyleSheetText(result) |
8 { | 8 { |
9 InspectorTest.log("==== Style sheet text ===="); | 9 InspectorTest.log("==== Style sheet text ===="); |
10 InspectorTest.log(result.text); | 10 InspectorTest.log(result.text); |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 { | 194 { |
195 if (!omitLog) | 195 if (!omitLog) |
196 InspectorTest.log("Dumping inline style: "); | 196 InspectorTest.log("Dumping inline style: "); |
197 InspectorTest.log("{"); | 197 InspectorTest.log("{"); |
198 InspectorTest.dumpStyle(result.inlineStyle, 0); | 198 InspectorTest.dumpStyle(result.inlineStyle, 0); |
199 InspectorTest.log("}"); | 199 InspectorTest.log("}"); |
200 InspectorTest.loadAndDumpMatchingRulesForNode(nodeId, callback, omitLog) | 200 InspectorTest.loadAndDumpMatchingRulesForNode(nodeId, callback, omitLog) |
201 } | 201 } |
202 } | 202 } |
203 } | 203 } |
OLD | NEW |