position: absolute should respect cross padding

This commit is contained in:
Christopher Chedeau
2014-04-21 17:31:04 -07:00
parent d5b5ccf56b
commit 39cc1e9b01
2 changed files with 13 additions and 3 deletions

View File

@@ -276,6 +276,8 @@ var computeLayout = (function() {
}
}
child.layout[pos[crossAxis]] += leadingCrossDim;
} else {
child.layout[pos[crossAxis]] += getPadding(node, leading[crossAxis]);
}
}