diff --git a/src/view.js b/src/view.js index 864e128f76..fdefdff4e4 100644 --- a/src/view.js +++ b/src/view.js @@ -113,7 +113,7 @@ } }); ['yexpand', 'yfill', 'xexpand', 'xfill', 'colspan', - 'position'].forEach(function(name) { + 'position', 'height', 'width'].forEach(function(name) { if (node_attrs[name]) { node_attrs[name] = Number(node_attrs[name]); }