Skip to content

Commit

Permalink
Merge branch 'RB_1.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald committed Sep 9, 2009
2 parents 8a58203 + b9c6b1a commit 96f16d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom/dom.js
Expand Up @@ -667,7 +667,7 @@
}
//this returns cascaded values so needs fixing
r = String(elmCurrentStyle[toStyleProp(prop)]);
if (/^\-\d+[a-z%]+$/i.test(r) && prop != "font-size") {
if (/^\-?\d+[a-z%]+$/i.test(r) && prop != "font-size") {
r = getPixelValue(elm, r, usesYAxis.test(prop)) + "px";
}
}
Expand Down

0 comments on commit 96f16d7

Please sign in to comment.