Merge pull request #2241 from jmeas/fix-position
Sets offset of fontMetrics div to be 0.
This commit is contained in:
commit
a0f7864b78
1 changed files with 2 additions and 2 deletions
|
|
@ -82,9 +82,9 @@ var FontMetrics = exports.FontMetrics = function(parentEl, interval) {
|
|||
|
||||
this.$setMeasureNodeStyles = function(style, isRoot) {
|
||||
style.width = style.height = "auto";
|
||||
style.left = style.top = "-100px";
|
||||
style.left = style.top = "0px";
|
||||
style.visibility = "hidden";
|
||||
style.position = "fixed";
|
||||
style.position = "absolute";
|
||||
style.whiteSpace = "pre";
|
||||
|
||||
if (useragent.isIE < 8) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue