[css-grid] Ignore collapsed tracks on content-distribution alignment
authorjfernandez@igalia.com <jfernandez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 May 2017 08:35:02 +0000 (08:35 +0000)
committerjfernandez@igalia.com <jfernandez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 May 2017 08:35:02 +0000 (08:35 +0000)
commitbb1b3cae7ef0406a7d38971eaf403da6e4a35d68
treea1b9b0b388a2b16b849516e88fec3a97c60a0fb3
parent8104dfe20f5b2aa96875f5c157fbb260be2438a4
[css-grid] Ignore collapsed tracks on content-distribution alignment
https://bugs.webkit.org/show_bug.cgi?id=172493

Reviewed by Manuel Rego Casasnovas.

Source/WebCore:

The CSS Box Alignment spec states that we should ignore the collapsed
tracks when computing the Distribution Alignment space to assign to the
different grid tracks.

No new tests, just unskipping the web-platform-tests imported to verify this use case.

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::populateGridPositionsForDirection):

LayoutTests:

Unskip the web-platform-tests related to content-alignment and collapsed tracks.

* TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderGrid.cpp