fn flatten_subtree_info(layout: &LayoutBox<'_>) -> Option<(u64, u64, bool)>
LayoutBox から StyledNode を取り出し部分木情報を計算。