Reduce code duplication between availableLogicalHeightUsing() and computePercentageLogicalHeight() |
|||
Issue descriptionhttps://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/LayoutBox.cpp?q=availableLogicalHeight&sq=package:chromium&l=3036&dr=CSs availableLogicalHeightUsing gets the height of an element's containing block using its style, as would be needed for percentage resolution (as far as I can tell). But computePercentageLogicalHeight does not use this function, instead implementing similar functionality separately. That code duplication seems bad?
,
Aug 16 2016
It'd be nice to also take a look to LayoutBox::computeReplacedLogicalHeightUsing() and LayoutBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight(). We've a bunch of duplicated logic there too.
,
Nov 30 2016
,
Nov 30 2017
Addressed as part of LayoutNG. |
|||
►
Sign in to add a comment |
|||
Comment 1 by e...@chromium.org
, Aug 12 2016Status: Available (was: Untriaged)