Ah, seems in my initial API draft I forgot that width needs to be calculated separately from height...
I need to adjust my underlying datamodel & add a couple more tree-traversals for height computation...
Any nontrivial layout is a back & forth negotiation!
Now how exactly do percentages work in the CSS `height` property?
I guess I need to go ahead & read the spec now...