dom-style-ie.js revision c288f92ab5fd2281b2bcf1d303fee00bdd08f551
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass(function(Y) {
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass // TODO: unit-less lineHeight (e.g. 1.22)
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass re_unit = /^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz|%){1}?/i,
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass if (property === OPACITY && Y.DOM.CUSTOM_STYLES[OPACITY]) {
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass } else if (!current || (current.indexOf && current.indexOf(PX) > -1)) { // no need to convert
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass } else if (Y.DOM.IE.COMPUTED[property]) { // use compute function
return value;
sizeOffsets: {
// NOTE: clientWidth/Height (size minus border) is 0 when current === AUTO so offsetHeight is used
borderMap: {
var val = null,
return val;
var val,
var current;
IEComputed = {};
test: function() {
test: function() {
test: function() {
} catch(err) {
var current,