Subversion Repositories Applications.papyrus

Rev

Rev 1318 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1318 Rev 1422
Line 6... Line 6...
6
	modified BSD license. For more information on Dojo licensing, see:
6
	modified BSD license. For more information on Dojo licensing, see:
Line 7... Line 7...
7
 
7
 
8
		http://dojotoolkit.org/community/licensing.shtml
8
		http://dojotoolkit.org/community/licensing.shtml
Line -... Line 9...
-
 
9
*/
-
 
10
 
9
*/
11
 
10
 
12
 
11
dojo.provide("dojo.html.style");
13
dojo.provide("dojo.html.style");
12
dojo.require("dojo.html.common");
14
dojo.require("dojo.html.common");
13
dojo.require("dojo.uri.Uri");
15
dojo.require("dojo.uri.Uri");
Line 171... Line 173...
171
	return selector.replace(/([A-Z])/g, "-$1").toLowerCase();
173
	return selector.replace(/([A-Z])/g, "-$1").toLowerCase();
172
};
174
};
173
if (dojo.render.html.ie) {
175
if (dojo.render.html.ie) {
174
	dojo.html.getComputedStyle = function (node, property, value) {
176
	dojo.html.getComputedStyle = function (node, property, value) {
175
		node = dojo.byId(node);
177
		node = dojo.byId(node);
176
		if (!node || !node.style) {
178
		if (!node || !node.currentStyle) {
177
			return value;
179
			return value;
178
		}
180
		}
179
		return node.currentStyle[dojo.html.toCamelCase(property)];
181
		return node.currentStyle[dojo.html.toCamelCase(property)];
180
	};
182
	};
181
	dojo.html.getComputedStyles = function (node) {
183
	dojo.html.getComputedStyles = function (node) {