code: function layoutNode (root) {
    var rootNode = createNode(root);
    computeLayout(rootNode);
    walkNode(rootNode);
    return rootNode;
  }
docs: This computes the CSS layout for a RenderLayer tree and mutates the frame
  objects at each node.
  
  @param {Renderlayer} root
  @return {Object}