Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Need to implement flex-flow: column-reverse
https://bugs.webkit.org/show_bug.cgi?id=73504 Reviewed by David Hyatt. Source/WebCore: We can't just change the direction of the FlexOrderIterator because we want the overflow to be on the top. We can't just position them in the reverse location since we don't know where the bottom edge is until we've layed out the flex items. So we do an extra pass, but it should be fast since we're not laying out, just moving. * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::flowAwareBorderEnd): (WebCore::RenderFlexibleBox::flowAwarePaddingEnd): (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): (WebCore::RenderFlexibleBox::layoutColumnReverse): Do an extra pass to reposition flexitems in the reverse order. * rendering/RenderFlexibleBox.h: LayoutTests: Enable testing of column-reverse. * css3/flexbox/flex-flow-expected.txt: * css3/flexbox/flex-flow.html: Added test cases to make sure start and end still apply to the text flow direction. * css3/flexbox/flex-flow-border-expected.txt: * css3/flexbox/flex-flow-border.html: Single flexitem, so reverse does nothing. * css3/flexbox/flex-flow-margins-auto-size-expected.txt: * css3/flexbox/flex-flow-margins-auto-size.html: Ditto. The vertical tests cases (orthogonal directions) have always failed. * css3/flexbox/flex-flow-margins-expected.txt: * css3/flexbox/flex-flow-margins.html: Ditto. * css3/flexbox/flex-flow-orientations-expected.txt: * css3/flexbox/flex-flow-orientations.html: This test has 2 flexitems, the positions of which are now flipped. * css3/flexbox/flex-flow-overflow-expected.txt: * css3/flexbox/flex-flow-overflow.html: The overflow should go in the opposite direction vertically, but the same direction horizontally. * css3/flexbox/flex-flow-padding-expected.txt: * css3/flexbox/flex-flow-padding.html: Single flexitem, no change. Canonical link: https://commits.webkit.org/90360@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@101897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
18 changed files
with
347 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,7 @@ PASS | |
PASS | ||
PASS | ||
PASS | ||
PASS | ||
PASS | ||
PASS | ||
PASS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.