Description[layoutng] Better handling of border and padding
This makes a few changes to the border/padding handling:
- Cache the computed value in a member variable instead of
recomputing it for each child
- Makes sure to add block_end border and padding to the box size
- Takes border and padding into account for overflow size,
and also for the constraint space size
- Remove functions that duplicate functionality from
computeBorder/computePadding
BUG=635619
Committed: https://crrev.com/f714d2bd4450811bae2c849b075344eb31814cd6
Cr-Commit-Position: refs/heads/master@{#418368}
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebased #
Total comments: 2
Patch Set 3 : undo comment change #
Messages
Total messages: 17 (7 generated)
|