Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Do not assume that an absolute positioned block box's height is alway…
…s resolvable https://bugs.webkit.org/show_bug.cgi?id=241213 Reviewed by Simon Fraser. 1. While the ICB (RenderView) always has fixed height/width, the RenderStyle values are set to auto. 2. It's incorrect to assume that we can always resolve the height for an absolute positioned box (e.g. it may have a "height: auto" relative positioned containing block) * LayoutTests/fast/block/fill-available-with-absolute-position-expected.html: Added. * LayoutTests/fast/block/fill-available-with-absolute-position.html: Added. * Source/WebCore/rendering/RenderBox.cpp: (WebCore::RenderBox::computeIntrinsicLogicalContentHeightUsing const): (WebCore::RenderBox::computePositionedLogicalHeightUsing const): Canonical link: https://commits.webkit.org/251215@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information