DescriptionInapplicable top, bottom style shouldn't affect height calculation
Require an absolute or fixed positioned containing block before
examining the containing block top and bottom style values for
contributing a non-auto height. Otherwise we'll base the decision on
inapplicable values.
|top| and |left| only applies to positioned elements:
http://www.w3.org/TR/CSS2/visuren.html#propdef-top
http://www.w3.org/TR/CSS2/visuren.html#propdef-bottom
and only contribute to the element's height (when height is auto) for
absolute and fixed positioned elements:
http://www.w3.org/TR/CSS2/visudet.html#normal-block
http://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-height
BUG=390101
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177374
Patch Set 1 #Patch Set 2 : Re-add experimentally removed code and fix it #
Messages
Total messages: 7 (0 generated)
|