fix style.font property.
This commit is contained in:
parent
0e3abd3f41
commit
2566dd74a5
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ var FontMetrics = exports.FontMetrics = function(parentEl, interval) {
|
|||
style.visibility = "hidden";
|
||||
style.position = "fixed";
|
||||
style.whiteSpace = "pre";
|
||||
style.font = "inherit";
|
||||
style['font-family'] = style['font-style'] = style['font-weight'] = 'inherit';
|
||||
style.overflow = isRoot ? "hidden" : "visible";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue