DescriptionSimplify Writing-Mode Related Calculation of Margins
Remove the very complicated logic from computeLogicalHeight() and
computeLogicalWidth() whose sole purpose was to use the writing mode of
the child vs the containing block when appropriate. The complexity was
unnecessary and the same result can be achieved by ensuring we use the
child's writing mode when computing the size of the box and the parent's
writing mode when computing the margins for position (e.g. for margin
collapsing).
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176154
Patch Set 1 #Patch Set 2 : Updated #Patch Set 3 : Rebased #
Messages
Total messages: 9 (0 generated)
|