[CSS Grid Layout] LayoutBox::hasDefiniteLogicalHeight() should consider abspos boxes...
authorrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Apr 2015 05:39:56 +0000 (05:39 +0000)
committerrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Apr 2015 05:39:56 +0000 (05:39 +0000)
commit6b73dbd85b38b784f39ffb99e63fce2a502f3910
tree5dc4568185476fae3dd54fb7ca3ca1370827edf4
parentfdca8b69676504879f1a7a9f7699270fed6e634a
[CSS Grid Layout] LayoutBox::hasDefiniteLogicalHeight() should consider abspos boxes as definite
https://bugs.webkit.org/show_bug.cgi?id=144144

Reviewed by Darin Adler.

Source/WebCore:

Change order in hasDefiniteLogicalHeight() ifs to consider definite
absolutely positioned elements.

Test: fast/css-grid-layout/percent-track-breadths-regarding-container-size.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::hasDefiniteLogicalHeight):

LayoutTests:

Add new test case to check absolutely positioned elements.

* fast/css-grid-layout/percent-track-breadths-regarding-container-size-expected.txt:
* fast/css-grid-layout/percent-track-breadths-regarding-container-size.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css-grid-layout/percent-track-breadths-regarding-container-size-expected.txt
LayoutTests/fast/css-grid-layout/percent-track-breadths-regarding-container-size.html
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.cpp