2011-11-05 12:31:00 -07:00
|
|
|
<?xml version="1.0"?>
|
2012-05-21 04:12:37 -07:00
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2011-11-05 12:31:00 -07:00
|
|
|
<?xml-stylesheet href="chrome://global/skin/global.css"?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/content/devtools/styleinspector.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/csshtmltree.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/styleinspector.dtd">
|
|
|
|
%inspectorDTD;
|
|
|
|
]>
|
2012-11-30 00:07:59 -08:00
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="&ruleViewTitle;">
|
|
|
|
<script type="application/javascript;version=1.8">
|
|
|
|
window.setPanel = function(panel, iframe) {
|
|
|
|
Components.utils.import("resource:///modules/devtools/StyleInspector.jsm");
|
|
|
|
this.ruleview = new RuleViewTool(panel, window, iframe);
|
|
|
|
}
|
|
|
|
window.onunload = function() {
|
|
|
|
if (this.ruleview) {
|
|
|
|
this.ruleview.destroy();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</window>
|