haikuwebkit/LayoutTests/resources/check-layout-th.js

205 lines
7.9 KiB
JavaScript
Raw Permalink Normal View History

Update flexbox to Blink's tip of tree https://bugs.webkit.org/show_bug.cgi?id=168657 Reviewed by Zalan Bujtas. Source/WebCore: Added new tests in css3/flexbox. * CMakeLists.txt: * WebCore.xcodeproj/project.pbxproj: * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::propertyValue): * rendering/FlexibleBoxAlgorithm.cpp: Added. (WebCore::FlexItem::FlexItem): (WebCore::FlexLayoutAlgorithm::FlexLayoutAlgorithm): (WebCore::FlexLayoutAlgorithm::computeNextFlexLine): * rendering/FlexibleBoxAlgorithm.h: Added. (WebCore::FlexItem::hypotheticalMainAxisMarginBoxSize): (WebCore::FlexItem::flexBaseMarginBoxSize): (WebCore::FlexItem::flexedMarginBoxSize): (WebCore::FlexLayoutAlgorithm::isMultiline): * rendering/GridTrackSizingAlgorithm.cpp: (WebCore::GridTrackSizingAlgorithm::computeTrackBasedSize): (WebCore::GridTrackSizingAlgorithm::increaseSizesToAccommodateSpanningItems): (WebCore::GridTrackSizingAlgorithm::assumedRowsSizeForOrthogonalChild): (WebCore::GridTrackSizingAlgorithm::gridAreaBreadthForChild): (WebCore::IndefiniteSizeStrategy::recomputeUsedFlexFractionIfNeeded): * rendering/GridTrackSizingAlgorithm.h: * rendering/OrderIterator.cpp: (WebCore::OrderIterator::next): (WebCore::OrderIterator::reset): (WebCore::OrderIteratorPopulator::~OrderIteratorPopulator): (WebCore::OrderIteratorPopulator::collectChild): (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): Deleted. (WebCore::OrderIteratorPopulator::removeDuplicatedOrderValues): Deleted. * rendering/OrderIterator.h: (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::updateBlockChildDirtyBitsBeforeLayout): (WebCore::RenderBlock::layoutPositionedObject): (WebCore::RenderBlock::computeBlockPreferredLogicalWidths): (WebCore::RenderBlock::computeChildPreferredLogicalWidths): (WebCore::RenderBlock::hasDefiniteLogicalHeight): (WebCore::RenderBlock::availableLogicalHeightForPercentageComputation): * rendering/RenderBlock.h: (WebCore::RenderBlock::hasPercentHeightDescendants): * rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths): * rendering/RenderBox.cpp: (WebCore::RenderBox::columnFlexItemHasStretchAlignment): (WebCore::RenderBox::isStretchingColumnFlexItem): (WebCore::RenderBox::hasStretchedLogicalWidth): (WebCore::RenderBox::sizesLogicalWidthToFitContent): (WebCore::RenderBox::computeInlineDirectionMargins): (WebCore::RenderBox::cacheIntrinsicContentLogicalHeightForFlexItem): (WebCore::RenderBox::updateLogicalHeight): (WebCore::RenderBox::computeLogicalHeightWithoutLayout): (WebCore::RenderBox::skipContainingBlockForPercentHeightCalculation): (WebCore::RenderBox::shouldTreatChildAsReplacedInTableCells): (WebCore::tableCellShouldHaveZeroInitialSize): (WebCore::RenderBox::computePercentageLogicalHeight): (WebCore::RenderBox::computeReplacedLogicalHeightUsing): (WebCore::RenderBox::availableLogicalHeightUsing): (WebCore::RenderBox::percentageLogicalHeightIsResolvable): (WebCore::RenderBox::hasUnsplittableScrollingOverflow): (WebCore::flexItemHasStretchAlignment): Deleted. (WebCore::isStretchingColumnFlexItem): Deleted. (WebCore::logicalWidthIsResolvable): Deleted. (WebCore::RenderBox::hasDefiniteLogicalWidth): Deleted. (WebCore::percentageLogicalHeightIsResolvable): Deleted. (WebCore::RenderBox::percentageLogicalHeightIsResolvableFromBlock): Deleted. (WebCore::RenderBox::hasDefiniteLogicalHeight): Deleted. * rendering/RenderBox.h: (WebCore::RenderBox::isGridItem): (WebCore::RenderBox::isFlexItem): (WebCore::RenderBox::selfAlignmentNormalBehavior): * rendering/RenderBoxModelObject.cpp: (WebCore::isOutOfFlowPositionedWithImplicitHeight): (WebCore::RenderBoxModelObject::containingBlockForAutoHeightDetection): (WebCore::RenderBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight): * rendering/RenderBoxModelObject.h: * rendering/RenderElement.cpp: (WebCore::RenderElement::removeChildInternal): * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::LineContext::LineContext): (WebCore::RenderFlexibleBox::RenderFlexibleBox): (WebCore::RenderFlexibleBox::computeIntrinsicLogicalWidths): (WebCore::contentAlignmentNormalBehavior): (WebCore::RenderFlexibleBox::styleDidChange): (WebCore::RenderFlexibleBox::layoutBlock): (WebCore::RenderFlexibleBox::repositionLogicalHeightDependentFlexItems): (WebCore::RenderFlexibleBox::clientLogicalBottomAfterRepositioning): (WebCore::RenderFlexibleBox::hasOrthogonalFlow): (WebCore::RenderFlexibleBox::flexBasisForChild): (WebCore::RenderFlexibleBox::crossAxisExtentForChild): (WebCore::RenderFlexibleBox::cachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::setCachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::clearCachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::childIntrinsicLogicalHeight): (WebCore::RenderFlexibleBox::childIntrinsicLogicalWidth): (WebCore::RenderFlexibleBox::crossAxisIntrinsicExtentForChild): (WebCore::RenderFlexibleBox::mainAxisExtentForChild): (WebCore::RenderFlexibleBox::mainAxisContentExtentForChildIncludingScrollbar): (WebCore::RenderFlexibleBox::crossAxisExtent): (WebCore::RenderFlexibleBox::mainAxisExtent): (WebCore::RenderFlexibleBox::mainAxisContentExtent): (WebCore::RenderFlexibleBox::computeMainAxisExtentForChild): (WebCore::RenderFlexibleBox::transformedWritingMode): (WebCore::RenderFlexibleBox::flowAwareMarginStartForChild): (WebCore::RenderFlexibleBox::flowAwareMarginEndForChild): (WebCore::RenderFlexibleBox::flowAwareMarginBeforeForChild): (WebCore::RenderFlexibleBox::crossAxisMarginExtentForChild): (WebCore::RenderFlexibleBox::flowAwareLocationForChild): (WebCore::RenderFlexibleBox::useChildAspectRatio): (WebCore::RenderFlexibleBox::computeMainSizeFromAspectRatioUsing): (WebCore::RenderFlexibleBox::setFlowAwareLocationForChild): (WebCore::RenderFlexibleBox::mainAxisLengthIsDefinite): (WebCore::RenderFlexibleBox::crossAxisLengthIsDefinite): (WebCore::RenderFlexibleBox::cacheChildMainSize): (WebCore::RenderFlexibleBox::clearCachedMainSizeForChild): (WebCore::RenderFlexibleBox::computeInnerFlexBaseSizeForChild): (WebCore::RenderFlexibleBox::layoutFlexItems): (WebCore::RenderFlexibleBox::autoMarginOffsetInMainAxis): (WebCore::RenderFlexibleBox::updateAutoMarginsInMainAxis): (WebCore::RenderFlexibleBox::hasAutoMarginsInCrossAxis): (WebCore::RenderFlexibleBox::availableAlignmentSpaceForChild): (WebCore::RenderFlexibleBox::updateAutoMarginsInCrossAxis): (WebCore::RenderFlexibleBox::marginBoxAscentForChild): (WebCore::RenderFlexibleBox::computeChildMarginValue): (WebCore::RenderFlexibleBox::adjustChildSizeForMinAndMax): (WebCore::RenderFlexibleBox::crossSizeForPercentageResolution): (WebCore::RenderFlexibleBox::mainSizeForPercentageResolution): (WebCore::RenderFlexibleBox::childLogicalHeightForPercentageResolution): (WebCore::RenderFlexibleBox::adjustChildSizeForAspectRatioCrossAxisMinAndMax): (WebCore::RenderFlexibleBox::constructFlexItem): (WebCore::RenderFlexibleBox::freezeViolations): (WebCore::RenderFlexibleBox::freezeInflexibleItems): (WebCore::RenderFlexibleBox::resolveFlexibleLengths): (WebCore::alignmentOffset): (WebCore::RenderFlexibleBox::setOverrideMainAxisContentSizeForChild): (WebCore::RenderFlexibleBox::staticMainAxisPositionForPositionedChild): (WebCore::RenderFlexibleBox::staticCrossAxisPositionForPositionedChild): (WebCore::RenderFlexibleBox::staticInlinePositionForPositionedChild): (WebCore::RenderFlexibleBox::staticBlockPositionForPositionedChild): (WebCore::RenderFlexibleBox::setStaticPositionForPositionedLayout): (WebCore::RenderFlexibleBox::prepareChildForPositionedLayout): (WebCore::RenderFlexibleBox::alignmentForChild): (WebCore::RenderFlexibleBox::resetAutoMarginsAndLogicalTopInCrossAxis): (WebCore::RenderFlexibleBox::needToStretchChildLogicalHeight): (WebCore::RenderFlexibleBox::childHasIntrinsicMainAxisSize): (WebCore::RenderFlexibleBox::crossAxisOverflowForChild): (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): (WebCore::RenderFlexibleBox::layoutColumnReverse): (WebCore::initialAlignContentOffset): (WebCore::alignContentSpaceBetweenChildren): (WebCore::RenderFlexibleBox::alignFlexLines): (WebCore::RenderFlexibleBox::adjustAlignmentForChild): (WebCore::RenderFlexibleBox::alignChildren): (WebCore::RenderFlexibleBox::applyStretchAlignmentToChild): (WebCore::RenderFlexibleBox::flipForRightToLeftColumn): (WebCore::RenderFlexibleBox::flipForWrapReverse): (WebCore::RenderFlexibleBox::Violation::Violation): Deleted. (WebCore::RenderFlexibleBox::setCrossAxisExtent): Deleted. (WebCore::RenderFlexibleBox::flowAwareMarginAfterForChild): Deleted. (WebCore::RenderFlexibleBox::mainAxisBorderAndPaddingExtentForChild): Deleted. (WebCore::RenderFlexibleBox::mainAxisScrollbarExtentForChild): Deleted. (WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild): Deleted. (WebCore::RenderFlexibleBox::computeNextFlexLine): Deleted. (WebCore::RenderFlexibleBox::setLogicalOverrideSize): Deleted. (WebCore::RenderFlexibleBox::numberOfInFlowPositionedChildren): Deleted. (WebCore::RenderFlexibleBox::needToStretchChild): Deleted. (WebCore::contentAlignmentNormalBehaviorFlexibleBox): Deleted. * rendering/RenderFlexibleBox.h: (WebCore::RenderFlexibleBox::orderIterator): (WebCore::RenderFlexibleBox::isFlexibleBoxImpl): * rendering/RenderFullScreen.h: * rendering/RenderGrid.cpp: (WebCore::selfAlignmentChangedToStretchInRowAxis): (WebCore::selfAlignmentChangedFromStretchInRowAxis): (WebCore::selfAlignmentChangedFromStretchInColumnAxis): (WebCore::RenderGrid::styleDidChange): (WebCore::RenderGrid::computeTrackBasedLogicalHeight): (WebCore::RenderGrid::computeTrackSizesForDefiniteSize): (WebCore::RenderGrid::gridGapForDirection): (WebCore::RenderGrid::guttersSize): (WebCore::RenderGrid::computeTrackSizesForIndefiniteSize): (WebCore::RenderGrid::computeAutoRepeatTracksCount): (WebCore::RenderGrid::trackSizesForComputedStyle): (WebCore::RenderGrid::offsetAndBreadthForPositionedChild): (WebCore::RenderGrid::populateGridPositionsForDirection): (WebCore::RenderGrid::alignSelfForChild): (WebCore::RenderGrid::justifySelfForChild): (WebCore::RenderGrid::columnAxisPositionForChild): (WebCore::RenderGrid::rowAxisPositionForChild): (WebCore::RenderGrid::columnAxisOffsetForChild): (WebCore::RenderGrid::rowAxisOffsetForChild): (WebCore::RenderGrid::needToStretchChildLogicalHeight): Deleted. * rendering/RenderGrid.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateScrollbarsAfterLayout): * rendering/RenderListBox.cpp: (WebCore::RenderListBox::computeLogicalHeight): * rendering/RenderTable.cpp: (WebCore::RenderTable::layout): * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::layout): * rendering/RenderTableSection.cpp: (WebCore::shouldFlexCellChild): (WebCore::RenderTableSection::relayoutCellIfFlexed): (WebCore::RenderTableSection::layoutRows): * rendering/RenderTableSection.h: * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::computeLogicalHeight): * rendering/style/RenderStyle.cpp: (WebCore::resolvedSelfAlignment): (WebCore::RenderStyle::resolvedAlignSelf): (WebCore::RenderStyle::resolvedJustifySelf): * rendering/style/RenderStyle.h: * style/RenderTreeUpdater.cpp: (WebCore::textRendererIsNeeded): LayoutTests: * css3/flexbox/align-absolute-child-expected.txt: * css3/flexbox/align-absolute-child.html: * css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line-expected.txt: Added. * css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line.html: Added. * css3/flexbox/anonymous-block-merge-crash.html: * css3/flexbox/assert-generated-new-flexbox-expected.txt: Added. * css3/flexbox/assert-generated-new-flexbox.html: Added. * css3/flexbox/auto-height-dynamic-expected.txt: * css3/flexbox/auto-height-dynamic.html: * css3/flexbox/auto-height-with-flex-expected.html: Added. * css3/flexbox/auto-height-with-flex.html: Added. * css3/flexbox/auto-margins-expected.html: Removed. * css3/flexbox/auto-margins.html: Removed. * css3/flexbox/border-and-padding-abspos-expected.txt: Added. * css3/flexbox/border-and-padding-abspos.html: Added. * css3/flexbox/box-orient-button-expected.txt: Added. * css3/flexbox/box-orient-button.html: Added. * css3/flexbox/box-sizing-expected.txt: * css3/flexbox/box-sizing-min-max-sizes-expected.txt: * css3/flexbox/box-sizing-min-max-sizes.html: * css3/flexbox/box-sizing.html: * css3/flexbox/bug527039-expected.txt: Added. * css3/flexbox/bug527039.html: Added. * css3/flexbox/bug580586-expected.txt: Added. * css3/flexbox/bug580586.html: Added. * css3/flexbox/bug604346-expected.html: Added. * css3/flexbox/bug604346.html: Added. * css3/flexbox/bug605682-expected.txt: Added. * css3/flexbox/bug605682.html: Added. * css3/flexbox/bug633212-expected.txt: Added. * css3/flexbox/bug633212.html: Added. * css3/flexbox/bug646288-expected.txt: Added. * css3/flexbox/bug646288.html: Added. * css3/flexbox/bug669714-expected.txt: Added. * css3/flexbox/bug669714.html: Added. * css3/flexbox/canvas-dynamic-change-expected.txt: Added. * css3/flexbox/canvas-dynamic-change.html: Added. * css3/flexbox/change-flexitem-into-abspos-expected.txt: Added. * css3/flexbox/change-flexitem-into-abspos.html: Added. * css3/flexbox/child-overflow-expected.html: * css3/flexbox/child-overflow.html: * css3/flexbox/column-flex-child-with-overflow-scroll-expected.txt: Added. * css3/flexbox/column-flex-child-with-overflow-scroll.html: Added. * css3/flexbox/columns-auto-size.html: * css3/flexbox/columns-center-with-margins-and-wrap-expected.html: Added. * css3/flexbox/columns-center-with-margins-and-wrap.html: Added. * css3/flexbox/columns-center-with-margins-expected.html: Added. * css3/flexbox/columns-center-with-margins.html: Added. * css3/flexbox/columns-height-set-via-top-bottom-expected.txt: * css3/flexbox/columns-height-set-via-top-bottom.html: * css3/flexbox/content-height-with-scrollbars.html: * css3/flexbox/cross-axis-scrollbar-expected.html: * css3/flexbox/cross-axis-scrollbar.html: * css3/flexbox/css-properties-expected.txt: * css3/flexbox/css-properties.html: * css3/flexbox/csswg/flex-margin-no-collapse.html: * css3/flexbox/definite-cross-sizes-expected.txt: Added. * css3/flexbox/definite-cross-sizes.html: Added. * css3/flexbox/definite-main-size-expected.txt: Added. * css3/flexbox/definite-main-size.html: Added. * css3/flexbox/display-flexbox-set-get-expected.txt: * css3/flexbox/display-flexbox-set-get.html: * css3/flexbox/flex-algorithm-expected.txt: * css3/flexbox/flex-algorithm-min-max-expected.txt: * css3/flexbox/flex-algorithm-min-max.html: * css3/flexbox/flex-algorithm-with-margins-expected.txt: * css3/flexbox/flex-algorithm-with-margins.html: * css3/flexbox/flex-algorithm.html: * css3/flexbox/flex-align-baseline-expected.txt: * css3/flexbox/flex-align-baseline.html: * css3/flexbox/flex-align-column-expected.txt: * css3/flexbox/flex-align-column.html: * css3/flexbox/flex-align-end-expected.txt: * css3/flexbox/flex-align-end.html: * css3/flexbox/flex-align-max-expected.txt: * css3/flexbox/flex-align-max.html: * css3/flexbox/flex-align-percent-height-expected.txt: * css3/flexbox/flex-align-percent-height.html: * css3/flexbox/flex-align-stretch-expected.txt: * css3/flexbox/flex-align-stretch.html: * css3/flexbox/flex-align-vertical-writing-mode.html: * css3/flexbox/flex-align.html: * css3/flexbox/flex-column-relayout-assert-expected.txt: Added. * css3/flexbox/flex-column-relayout-assert.html: Added. * css3/flexbox/flex-factor-less-than-one-expected.txt: Added. * css3/flexbox/flex-factor-less-than-one.html: Added. * css3/flexbox/flex-flow-2-expected.txt: * css3/flexbox/flex-flow-2.html: * css3/flexbox/flex-flow-auto-margins-expected.txt: * css3/flexbox/flex-flow-auto-margins-no-available-space-assert-expected.txt: Added. * css3/flexbox/flex-flow-auto-margins-no-available-space-assert.html: Added. * css3/flexbox/flex-flow-auto-margins-no-available-space-expected.txt: * css3/flexbox/flex-flow-auto-margins-no-available-space.html: * css3/flexbox/flex-flow-auto-margins.html: * css3/flexbox/flex-flow-border-expected.txt: * css3/flexbox/flex-flow-border.html: * css3/flexbox/flex-flow-expected.txt: * css3/flexbox/flex-flow-initial-expected.txt: * css3/flexbox/flex-flow-initial.html: * css3/flexbox/flex-flow-margins-auto-size-expected.txt: * css3/flexbox/flex-flow-margins-auto-size.html: * css3/flexbox/flex-flow-margins-expected.txt: * css3/flexbox/flex-flow-margins.html: * css3/flexbox/flex-flow-orientations-expected.txt: * css3/flexbox/flex-flow-orientations.html: * css3/flexbox/flex-flow-overflow-expected.txt: * css3/flexbox/flex-flow-overflow.html: * css3/flexbox/flex-flow-padding-expected.txt: * css3/flexbox/flex-flow-padding.html: * css3/flexbox/flex-flow.html: * css3/flexbox/flex-item-child-overflow-expected.txt: * css3/flexbox/flex-item-child-overflow.html: * css3/flexbox/flex-item-contains-strict-expected.txt: Added. * css3/flexbox/flex-item-contains-strict.html: Added. * css3/flexbox/flex-item-firstLine-valid-expected.txt: * css3/flexbox/flex-item-firstLine-valid.html: * css3/flexbox/flex-justify-content-expected.txt: * css3/flexbox/flex-justify-content.html: * css3/flexbox/flex-longhand-parsing-expected.txt: * css3/flexbox/flex-longhand-parsing.html: * css3/flexbox/flex-no-flex-expected.txt: * css3/flexbox/flex-no-flex.html: * css3/flexbox/flex-one-sets-flex-basis-to-zero-px-expected.txt: Added. * css3/flexbox/flex-one-sets-flex-basis-to-zero-px.html: Added. * css3/flexbox/flex-order-expected.html: Added. * css3/flexbox/flex-order-expected.png: Removed. * css3/flexbox/flex-order-expected.txt: Removed. * css3/flexbox/flex-order.html: * css3/flexbox/flex-property-parsing-expected.txt: * css3/flexbox/flex-property-parsing.html: * css3/flexbox/flex-shorthand-flex-basis-middle-expected.txt: Added. * css3/flexbox/flex-shorthand-flex-basis-middle.html: Added. * css3/flexbox/flexbox-baseline.html: * css3/flexbox/flexbox-height-with-overflow-auto-expected.txt: Added. * css3/flexbox/flexbox-height-with-overflow-auto.html: Added. * css3/flexbox/flexbox-ignore-container-firstLetter-expected.txt: * css3/flexbox/flexbox-ignore-container-firstLetter.html: * css3/flexbox/flexbox-ignore-firstLetter-expected.txt: * css3/flexbox/flexbox-ignore-firstLetter.html: * css3/flexbox/flexbox-ignore-firstLine-expected.txt: * css3/flexbox/flexbox-ignore-firstLine.html: * css3/flexbox/flexbox-lines-must-be-stretched-by-default-expected.txt: * css3/flexbox/flexbox-lines-must-be-stretched-by-default.html: * css3/flexbox/flexbox-overflow-auto-expected.html: * css3/flexbox/flexbox-overflow-auto.html: * css3/flexbox/flexbox-with-multi-column-property-expected.html: Added. * css3/flexbox/flexbox-with-multi-column-property.html: Added. * css3/flexbox/flexbox-wordwrap-expected.txt: Added. * css3/flexbox/flexbox-wordwrap.html: Added. * css3/flexbox/flexitem-expected.txt: * css3/flexbox/flexitem-no-margin-collapsing-expected.txt: * css3/flexbox/flexitem-no-margin-collapsing.html: * css3/flexbox/flexitem-percent-height-change-expected.txt: * css3/flexbox/flexitem-percent-height-change.html: * css3/flexbox/flexitem-stretch-image-expected.txt: * css3/flexbox/flexitem-stretch-image.html: * css3/flexbox/flexitem-stretch-range.html: * css3/flexbox/flexitem.html: * css3/flexbox/floated-flexbox-expected.txt: * css3/flexbox/floated-flexbox.html: * css3/flexbox/floated-flexitem.html: * css3/flexbox/inline-flex-crash.html: * css3/flexbox/inline-flex-crash2.html: * css3/flexbox/inline-flex-expected.txt: * css3/flexbox/inline-flex.html: * css3/flexbox/inline-flexbox-ignore-firstLine-expected.txt: * css3/flexbox/inline-flexbox-ignore-firstLine.html: * css3/flexbox/inline-flexbox-wrap-vertically-width-calculation-expected.txt: Added. * css3/flexbox/inline-flexbox-wrap-vertically-width-calculation.html: Added. * css3/flexbox/insert-text-crash.html: * css3/flexbox/intrinsic-min-width-applies-with-fixed-width-expected.txt: * css3/flexbox/intrinsic-min-width-applies-with-fixed-width.html: * css3/flexbox/intrinsic-width-orthogonal-writing-mode-expected.txt: Added. * css3/flexbox/intrinsic-width-orthogonal-writing-mode.html: Added. * css3/flexbox/large-flex-shrink-assert-expected.txt: Added. * css3/flexbox/large-flex-shrink-assert.html: Added. * css3/flexbox/line-wrapping.html: * css3/flexbox/mainAxisExtent-crash-expected.txt: Added. * css3/flexbox/mainAxisExtent-crash.html: Added. * css3/flexbox/max-width-violation-expected.txt: Added. * css3/flexbox/max-width-violation.html: Added. * css3/flexbox/min-size-auto-expected.txt: * css3/flexbox/min-size-auto.html: * css3/flexbox/minimum-size-image-expected.txt: Added. * css3/flexbox/minimum-size-image.html: Added. * css3/flexbox/multiline-align-content-expected.txt: * css3/flexbox/multiline-align-content-horizontal-column-expected.txt: * css3/flexbox/multiline-align-content-horizontal-column.html: * css3/flexbox/multiline-align-content.html: * css3/flexbox/multiline-align-self-expected.txt: * css3/flexbox/multiline-align-self.html: * css3/flexbox/multiline-column-auto-expected.txt: * css3/flexbox/multiline-column-auto.html: * css3/flexbox/multiline-column-overflow-expected.html: Added. * css3/flexbox/multiline-column-overflow.html: Added. * css3/flexbox/multiline-expected.txt: * css3/flexbox/multiline-justify-content-expected.txt: * css3/flexbox/multiline-justify-content.html: * css3/flexbox/multiline-min-max-expected.txt: Added. * css3/flexbox/multiline-min-max.html: Added. * css3/flexbox/multiline-min-preferred-width-expected.txt: * css3/flexbox/multiline-min-preferred-width.html: * css3/flexbox/multiline-reverse-wrap-baseline.html: * css3/flexbox/multiline-reverse-wrap-overflow-expected.txt: * css3/flexbox/multiline-reverse-wrap-overflow.html: * css3/flexbox/multiline-shrink-to-fit-expected.html: * css3/flexbox/multiline-shrink-to-fit.html: * css3/flexbox/multiline.html: * css3/flexbox/negative-flex-rounding-assert.html: * css3/flexbox/negative-margins-assert.html: * css3/flexbox/negative-overflow-expected.txt: * css3/flexbox/negative-overflow.html: * css3/flexbox/nested-flexbox-min-size-auto-expected.txt: Added. * css3/flexbox/nested-flexbox-min-size-auto.html: Added. * css3/flexbox/nested-orthogonal-flexbox-relayout-expected.html: Added. * css3/flexbox/nested-orthogonal-flexbox-relayout.html: Added. * css3/flexbox/nested-stretch-expected.txt: * css3/flexbox/nested-stretch.html: * css3/flexbox/order-painting.html: * css3/flexbox/orthogonal-flex-directions-expected.txt: * css3/flexbox/orthogonal-flex-directions.html: * css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing-expected.txt: Added. * css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing.html: Added. * css3/flexbox/overflow-and-padding-expected.txt: Added. * css3/flexbox/overflow-and-padding.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-abspos-expected.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-abspos.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-expected.html: Added. * css3/flexbox/overflow-auto-dynamic-changes.html: Added. * css3/flexbox/overflow-auto-resizes-correctly-expected.txt: Added. * css3/flexbox/overflow-auto-resizes-correctly.html: Added. * css3/flexbox/overflow-keep-scrollpos-expected.txt: * css3/flexbox/overflow-keep-scrollpos.html: * css3/flexbox/percent-height-children-of-alignSelf-stretch-flex-item-expected.txt: Added. * css3/flexbox/percent-height-children-of-alignSelf-stretch-flex-item.html: Added. * css3/flexbox/percent-margins-expected.txt: * css3/flexbox/percent-margins.html: * css3/flexbox/percentage-height-in-abspos-expected.html: Added. * css3/flexbox/percentage-height-in-abspos.html: Added. * css3/flexbox/percentage-height-replaced-element-expected.txt: Added. * css3/flexbox/percentage-height-replaced-element.html: Added. * css3/flexbox/percentage-heights-expected.txt: * css3/flexbox/percentage-heights.html: * css3/flexbox/percentage-max-width-cross-axis-expected.txt: Added. * css3/flexbox/percentage-max-width-cross-axis.html: Added. * css3/flexbox/percentage-sizes-expected.txt: * css3/flexbox/percentage-sizes-quirks-expected.txt: * css3/flexbox/percentage-sizes-quirks.html: * css3/flexbox/percentage-sizes.html: * css3/flexbox/percentage-width-in-abspos-expected.html: Added. * css3/flexbox/percentage-width-in-abspos.html: Added. * css3/flexbox/perpendicular-writing-modes-inside-flex-item-expected.txt: * css3/flexbox/perpendicular-writing-modes-inside-flex-item.html: * css3/flexbox/position-absolute-child-expected.txt: * css3/flexbox/position-absolute-child.html: * css3/flexbox/position-absolute-children-expected.txt: * css3/flexbox/position-absolute-children.html: * css3/flexbox/preferred-widths-expected.txt: * css3/flexbox/preferred-widths-orthogonal.html: * css3/flexbox/preferred-widths.html: * css3/flexbox/relayout-align-items-expected.txt: * css3/flexbox/relayout-align-items.html: * css3/flexbox/relayout-image-load-expected.txt: * css3/flexbox/relayout-image-load.html: * css3/flexbox/relpos-with-percentage-top-expected.txt: Added. * css3/flexbox/relpos-with-percentage-top.html: Added. * css3/flexbox/relpos-with-scrollable-with-abspos-crash-expected.txt: Added. * css3/flexbox/relpos-with-scrollable-with-abspos-crash.html: Added. * css3/flexbox/resize-min-content-flexbox-expected.txt: Added. * css3/flexbox/resize-min-content-flexbox.html: Added. * css3/flexbox/resources/box-orient-button.js: Added. (setFlexDirection): (gebi): (test): * css3/flexbox/scrollbars-auto-expected.html: Added. * css3/flexbox/scrollbars-auto.html: Added. * css3/flexbox/scrollbars-expected.html: Added. * css3/flexbox/scrollbars.html: Added. * css3/flexbox/shrinking-column-flexbox-expected.txt: Added. * css3/flexbox/shrinking-column-flexbox.html: Added. * css3/flexbox/stretch-after-sibling-size-change-expected.txt: * css3/flexbox/stretch-after-sibling-size-change.html: * css3/flexbox/stretch-input-in-column-expected.html: * css3/flexbox/stretch-simplified-layout-expected.txt: * css3/flexbox/stretch-simplified-layout.html: * css3/flexbox/stretch-table-child-expected.txt: Added. * css3/flexbox/stretch-table-child.html: Added. * css3/flexbox/stretched-child-shrink-on-relayout-expected.txt: Added. * css3/flexbox/stretched-child-shrink-on-relayout.html: Added. * css3/flexbox/stretching-orthogonal-flows-expected.html: Added. * css3/flexbox/stretching-orthogonal-flows.html: Added. * css3/flexbox/style-change-expected.txt: * css3/flexbox/style-change.html: * css3/flexbox/text-overflow-on-flexbox-expected.html: Added. * css3/flexbox/text-overflow-on-flexbox.html: Added. * css3/flexbox/true-centering-expected.txt: * css3/flexbox/true-centering.html: * css3/flexbox/undefined-min-width-expected.txt: Added. * css3/flexbox/undefined-min-width.html: Added. * css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html: Added. * css3/flexbox/vertical-align-do-not-effect-flex-items.html: Added. * css3/flexbox/vertical-flexbox-percentage-ignored-expected.html: Added. * css3/flexbox/vertical-flexbox-percentage-ignored.html: Added. * css3/flexbox/whitespace-in-flexitem-expected.html: Added. * css3/flexbox/whitespace-in-flexitem.html: Added. * css3/flexbox/width-change-and-relayout-children-expected.txt: * css3/flexbox/width-change-and-relayout-children.html: * css3/flexbox/wrapping-column-dynamic-changes-expected.txt: Added. * css3/flexbox/wrapping-column-dynamic-changes.html: Added. * css3/flexbox/writing-modes-expected.txt: * css3/flexbox/writing-modes.html: * css3/flexbox/z-index.html: * resources/check-layout-th.js: Added. (checkSubtreeExpectedValues): (checkAttribute): (assert_tolerance): (checkExpectedValues): (window.checkLayout): Canonical link: https://commits.webkit.org/185959@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-28 16:23:15 +00:00
(function() {
// Test is initiated from body.onload, so explicit done() call is required.
setup({ explicit_done: true });
function checkSubtreeExpectedValues(t, parent, prefix)
{
var checkedLayout = checkExpectedValues(t, parent, prefix);
Array.prototype.forEach.call(parent.childNodes, function(node) {
checkedLayout |= checkSubtreeExpectedValues(t, node, prefix);
});
return checkedLayout;
}
function checkAttribute(output, node, attribute)
{
var result = node.getAttribute && node.getAttribute(attribute);
output.checked |= !!result;
return result;
}
function assert_tolerance(actual, expected, message)
{
if (isNaN(expected) || Math.abs(actual - expected) >= 1) {
assert_equals(actual, Number(expected), message);
}
}
function checkExpectedValues(t, node, prefix)
{
var output = { checked: false };
var expectedWidth = checkAttribute(output, node, "data-expected-width");
if (expectedWidth) {
assert_tolerance(node.offsetWidth, expectedWidth, prefix + "width");
}
var expectedHeight = checkAttribute(output, node, "data-expected-height");
if (expectedHeight) {
assert_tolerance(node.offsetHeight, expectedHeight, prefix + "height");
}
var expectedOffset = checkAttribute(output, node, "data-offset-x");
if (expectedOffset) {
assert_tolerance(node.offsetLeft, expectedOffset, prefix + "offsetLeft");
}
var expectedOffset = checkAttribute(output, node, "data-offset-y");
if (expectedOffset) {
assert_tolerance(node.offsetTop, expectedOffset, prefix + "offsetTop");
}
var expectedWidth = checkAttribute(output, node, "data-expected-client-width");
if (expectedWidth) {
assert_tolerance(node.clientWidth, expectedWidth, prefix + "clientWidth");
}
var expectedHeight = checkAttribute(output, node, "data-expected-client-height");
if (expectedHeight) {
assert_tolerance(node.clientHeight, expectedHeight, prefix + "clientHeight");
}
var expectedWidth = checkAttribute(output, node, "data-expected-scroll-width");
if (expectedWidth) {
assert_tolerance(node.scrollWidth, expectedWidth, prefix + "scrollWidth");
}
var expectedHeight = checkAttribute(output, node, "data-expected-scroll-height");
if (expectedHeight) {
assert_tolerance(node.scrollHeight, expectedHeight, prefix + "scrollHeight");
}
var expectedWidth = checkAttribute(output, node, "data-expected-bounding-client-rect-width");
if (expectedWidth) {
assert_tolerance(node.getBoundingClientRect().width, expectedWidth, prefix + "getBoundingClientRect().width");
}
var expectedOffset = checkAttribute(output, node, "data-total-x");
if (expectedOffset) {
var totalLeft = node.clientLeft + node.offsetLeft;
assert_tolerance(totalLeft, expectedOffset, prefix +
"clientLeft+offsetLeft (" + node.clientLeft + " + " + node.offsetLeft + ")");
}
var expectedOffset = checkAttribute(output, node, "data-total-y");
if (expectedOffset) {
var totalTop = node.clientTop + node.offsetTop;
assert_tolerance(totalTop, expectedOffset, prefix +
"clientTop+offsetTop (" + node.clientTop + " + " + node.offsetTop + ")");
}
var expectedDisplay = checkAttribute(output, node, "data-expected-display");
if (expectedDisplay) {
var actualDisplay = getComputedStyle(node).display;
assert_equals(actualDisplay, expectedDisplay, prefix + "display");
}
var expectedPaddingTop = checkAttribute(output, node, "data-expected-padding-top");
if (expectedPaddingTop) {
var actualPaddingTop = getComputedStyle(node).paddingTop;
// Trim the unit "px" from the output.
actualPaddingTop = actualPaddingTop.slice(0, -2);
assert_equals(actualPaddingTop, expectedPaddingTop, prefix + "padding-top");
}
var expectedPaddingBottom = checkAttribute(output, node, "data-expected-padding-bottom");
if (expectedPaddingBottom) {
var actualPaddingBottom = getComputedStyle(node).paddingBottom;
// Trim the unit "px" from the output.
actualPaddingBottom = actualPaddingBottom.slice(0, -2);
assert_equals(actualPaddingBottom, expectedPaddingBottom, prefix + "padding-bottom");
}
var expectedPaddingLeft = checkAttribute(output, node, "data-expected-padding-left");
if (expectedPaddingLeft) {
var actualPaddingLeft = getComputedStyle(node).paddingLeft;
// Trim the unit "px" from the output.
actualPaddingLeft = actualPaddingLeft.slice(0, -2);
assert_equals(actualPaddingLeft, expectedPaddingLeft, prefix + "padding-left");
}
var expectedPaddingRight = checkAttribute(output, node, "data-expected-padding-right");
if (expectedPaddingRight) {
var actualPaddingRight = getComputedStyle(node).paddingRight;
// Trim the unit "px" from the output.
actualPaddingRight = actualPaddingRight.slice(0, -2);
assert_equals(actualPaddingRight, expectedPaddingRight, prefix + "padding-right");
}
var expectedMarginTop = checkAttribute(output, node, "data-expected-margin-top");
if (expectedMarginTop) {
var actualMarginTop = getComputedStyle(node).marginTop;
// Trim the unit "px" from the output.
actualMarginTop = actualMarginTop.slice(0, -2);
assert_equals(actualMarginTop, expectedMarginTop, prefix + "margin-top");
}
var expectedMarginBottom = checkAttribute(output, node, "data-expected-margin-bottom");
if (expectedMarginBottom) {
var actualMarginBottom = getComputedStyle(node).marginBottom;
// Trim the unit "px" from the output.
actualMarginBottom = actualMarginBottom.slice(0, -2);
assert_equals(actualMarginBottom, expectedMarginBottom, prefix + "margin-bottom");
}
var expectedMarginLeft = checkAttribute(output, node, "data-expected-margin-left");
if (expectedMarginLeft) {
var actualMarginLeft = getComputedStyle(node).marginLeft;
// Trim the unit "px" from the output.
actualMarginLeft = actualMarginLeft.slice(0, -2);
assert_equals(actualMarginLeft, expectedMarginLeft, prefix + "margin-left");
}
var expectedMarginRight = checkAttribute(output, node, "data-expected-margin-right");
if (expectedMarginRight) {
var actualMarginRight = getComputedStyle(node).marginRight;
// Trim the unit "px" from the output.
actualMarginRight = actualMarginRight.slice(0, -2);
assert_equals(actualMarginRight, expectedMarginRight, prefix + "margin-right");
}
return output.checked;
}
Update testharness.js from upstream https://bugs.webkit.org/show_bug.cgi?id=201808 Reviewed by Darin Adler. LayoutTests/imported/w3c: Update existing layout tests so that they are compatible with this new version of testharness.js. * IndexedDB-private-browsing/idbdatabase_createObjectStore9-invalidparameters.html: * IndexedDB-private-browsing/idbobjectstore_deleted.html: * web-platform-tests/custom-elements/resources/custom-elements-helpers.js: (create_window_in_test): LayoutTests: Update testharness.js from upstream 6fd5e1e086ce590a4780a30d12968. Update existing layout tests so that they are compatible with this new version of testharness.js. * TestExpectations: * css-custom-properties-api/length-expected.txt: * css-custom-properties-api/length.html: * css-custom-properties-api/registerProperty.html: * css-dark-mode/older-systems/color-scheme-css-expected.txt: * css-dark-mode/older-systems/color-scheme-css.html: * css-dark-mode/older-systems/color-scheme-meta-expected.txt: * css-dark-mode/older-systems/color-scheme-meta.html: * css3/flexbox/style-change-expected.txt: * fast/css/DOMQuad-serialization.html: * fast/css/Element-style.html: * fast/css/parse-justify-self-expected.txt: * fast/css/parse-justify-self.html: * fast/events/clipboard-event-constructor-expected.txt: * fast/events/clipboard-event-constructor.html: * fast/media/mq-js-update-media-expected.txt: * fast/media/mq-js-update-media.html: * fast/mediacapturefromelement/CanvasCaptureMediaStream-offscreencanvas-expected.txt: * fast/mediastream/captureStream/canvas2d-expected.txt: * fast/mediastream/captureStream/canvas2d-heavy-drawing.html: * fast/mediastream/captureStream/canvas2d.html: * fast/shadow-dom/event-path-with-window-expected.txt: * fast/shadow-dom/event-path-with-window.html: * fast/shadow-dom/offsetParent-across-shadow-boundaries-expected.txt: * fast/shadow-dom/offsetParent-across-shadow-boundaries.html: * fast/shadow-dom/slotchange-for-slot-mutation-expected.txt: * fast/shadow-dom/slotchange-for-slot-mutation.html: * fast/shadow-dom/stylesheet-title-in-shadow-tree-expected.txt: * fast/shadow-dom/stylesheet-title-in-shadow-tree.html: * http/tests/fetch/redirectmode-and-preload-expected.txt: * http/tests/fetch/redirectmode-and-preload.html: * imported/blink/editing/selection/selectstart-event-crash-expected.txt: * js/promises-tests/promises-in-workers-expected.txt: * js/promises-tests/promises-in-workers.js: * resources/check-layout-th.js: (window.checkLayout): * resources/testharness.js: (WindowTestEnvironment): (WindowTestEnvironment.prototype._dispatch): (WindowTestEnvironment.prototype._forEach_windows): (WindowTestEnvironment.prototype.next_default_test_name): (WorkerTestEnvironment.prototype.next_default_test_name): (ServiceWorkerTestEnvironment.on_all_loaded): (ServiceWorkerTestEnvironment): (ShellTestEnvironment): (ShellTestEnvironment.prototype.next_default_test_name): (ShellTestEnvironment.prototype.on_new_harness_properties): (ShellTestEnvironment.prototype.on_tests_ready): (ShellTestEnvironment.prototype.add_on_loaded_callback): (ShellTestEnvironment.prototype.test_timeout): (create_test_environment): (is_shared_worker): (is_service_worker): (test): (promise_test): (this.wait_for): (EventWatcher): (done): * streams/readable-byte-stream-controller-expected.txt: * streams/readable-byte-stream-controller-worker-expected.txt: Added. * streams/readable-byte-stream-controller-worker.html: Copied from LayoutTests/streams/readable-byte-stream-controller.html. * streams/readable-byte-stream-controller.html: * streams/readable-stream-byob-reader-expected.txt: * streams/readable-stream-byob-reader-worker-expected.txt: Added. * streams/readable-stream-byob-reader-worker.html: Copied from LayoutTests/streams/readable-stream-byob-reader.html. * streams/readable-stream-byob-reader.html: * streams/readable-stream-byob-request-expected.txt: * streams/readable-stream-byob-request-worker-expected.txt: Copied from LayoutTests/streams/readable-stream-byob-request-expected.txt. * streams/readable-stream-byob-request-worker.html: Copied from LayoutTests/streams/readable-stream-byob-request.html. * streams/readable-stream-byob-request.html: * streams/reference-implementation/readable-stream-templated-expected.txt: * streams/reference-implementation/readable-stream-templated.html: * streams/reference-implementation/writable-stream-abort-expected.txt: * streams/reference-implementation/writable-stream-expected.txt: * webrtc/datachannel/basic-expected.txt: * webrtc/datachannel/basic.html: * webrtc/datachannel/mdns-ice-candidates-expected.txt: * webrtc/datachannel/mdns-ice-candidates.html: * webrtc/pc-detached-document-expected.txt: * webrtc/pc-detached-document.html: * webrtc/video-mute-expected.txt: * webrtc/video-mute-vp8-expected.txt: * webrtc/video-mute-vp8.html: * webrtc/video-mute.html: Canonical link: https://commits.webkit.org/215471@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-16 21:04:08 +00:00
let testNumbers = new Map();
Update flexbox to Blink's tip of tree https://bugs.webkit.org/show_bug.cgi?id=168657 Reviewed by Zalan Bujtas. Source/WebCore: Added new tests in css3/flexbox. * CMakeLists.txt: * WebCore.xcodeproj/project.pbxproj: * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::propertyValue): * rendering/FlexibleBoxAlgorithm.cpp: Added. (WebCore::FlexItem::FlexItem): (WebCore::FlexLayoutAlgorithm::FlexLayoutAlgorithm): (WebCore::FlexLayoutAlgorithm::computeNextFlexLine): * rendering/FlexibleBoxAlgorithm.h: Added. (WebCore::FlexItem::hypotheticalMainAxisMarginBoxSize): (WebCore::FlexItem::flexBaseMarginBoxSize): (WebCore::FlexItem::flexedMarginBoxSize): (WebCore::FlexLayoutAlgorithm::isMultiline): * rendering/GridTrackSizingAlgorithm.cpp: (WebCore::GridTrackSizingAlgorithm::computeTrackBasedSize): (WebCore::GridTrackSizingAlgorithm::increaseSizesToAccommodateSpanningItems): (WebCore::GridTrackSizingAlgorithm::assumedRowsSizeForOrthogonalChild): (WebCore::GridTrackSizingAlgorithm::gridAreaBreadthForChild): (WebCore::IndefiniteSizeStrategy::recomputeUsedFlexFractionIfNeeded): * rendering/GridTrackSizingAlgorithm.h: * rendering/OrderIterator.cpp: (WebCore::OrderIterator::next): (WebCore::OrderIterator::reset): (WebCore::OrderIteratorPopulator::~OrderIteratorPopulator): (WebCore::OrderIteratorPopulator::collectChild): (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): Deleted. (WebCore::OrderIteratorPopulator::removeDuplicatedOrderValues): Deleted. * rendering/OrderIterator.h: (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::updateBlockChildDirtyBitsBeforeLayout): (WebCore::RenderBlock::layoutPositionedObject): (WebCore::RenderBlock::computeBlockPreferredLogicalWidths): (WebCore::RenderBlock::computeChildPreferredLogicalWidths): (WebCore::RenderBlock::hasDefiniteLogicalHeight): (WebCore::RenderBlock::availableLogicalHeightForPercentageComputation): * rendering/RenderBlock.h: (WebCore::RenderBlock::hasPercentHeightDescendants): * rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths): * rendering/RenderBox.cpp: (WebCore::RenderBox::columnFlexItemHasStretchAlignment): (WebCore::RenderBox::isStretchingColumnFlexItem): (WebCore::RenderBox::hasStretchedLogicalWidth): (WebCore::RenderBox::sizesLogicalWidthToFitContent): (WebCore::RenderBox::computeInlineDirectionMargins): (WebCore::RenderBox::cacheIntrinsicContentLogicalHeightForFlexItem): (WebCore::RenderBox::updateLogicalHeight): (WebCore::RenderBox::computeLogicalHeightWithoutLayout): (WebCore::RenderBox::skipContainingBlockForPercentHeightCalculation): (WebCore::RenderBox::shouldTreatChildAsReplacedInTableCells): (WebCore::tableCellShouldHaveZeroInitialSize): (WebCore::RenderBox::computePercentageLogicalHeight): (WebCore::RenderBox::computeReplacedLogicalHeightUsing): (WebCore::RenderBox::availableLogicalHeightUsing): (WebCore::RenderBox::percentageLogicalHeightIsResolvable): (WebCore::RenderBox::hasUnsplittableScrollingOverflow): (WebCore::flexItemHasStretchAlignment): Deleted. (WebCore::isStretchingColumnFlexItem): Deleted. (WebCore::logicalWidthIsResolvable): Deleted. (WebCore::RenderBox::hasDefiniteLogicalWidth): Deleted. (WebCore::percentageLogicalHeightIsResolvable): Deleted. (WebCore::RenderBox::percentageLogicalHeightIsResolvableFromBlock): Deleted. (WebCore::RenderBox::hasDefiniteLogicalHeight): Deleted. * rendering/RenderBox.h: (WebCore::RenderBox::isGridItem): (WebCore::RenderBox::isFlexItem): (WebCore::RenderBox::selfAlignmentNormalBehavior): * rendering/RenderBoxModelObject.cpp: (WebCore::isOutOfFlowPositionedWithImplicitHeight): (WebCore::RenderBoxModelObject::containingBlockForAutoHeightDetection): (WebCore::RenderBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight): * rendering/RenderBoxModelObject.h: * rendering/RenderElement.cpp: (WebCore::RenderElement::removeChildInternal): * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::LineContext::LineContext): (WebCore::RenderFlexibleBox::RenderFlexibleBox): (WebCore::RenderFlexibleBox::computeIntrinsicLogicalWidths): (WebCore::contentAlignmentNormalBehavior): (WebCore::RenderFlexibleBox::styleDidChange): (WebCore::RenderFlexibleBox::layoutBlock): (WebCore::RenderFlexibleBox::repositionLogicalHeightDependentFlexItems): (WebCore::RenderFlexibleBox::clientLogicalBottomAfterRepositioning): (WebCore::RenderFlexibleBox::hasOrthogonalFlow): (WebCore::RenderFlexibleBox::flexBasisForChild): (WebCore::RenderFlexibleBox::crossAxisExtentForChild): (WebCore::RenderFlexibleBox::cachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::setCachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::clearCachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::childIntrinsicLogicalHeight): (WebCore::RenderFlexibleBox::childIntrinsicLogicalWidth): (WebCore::RenderFlexibleBox::crossAxisIntrinsicExtentForChild): (WebCore::RenderFlexibleBox::mainAxisExtentForChild): (WebCore::RenderFlexibleBox::mainAxisContentExtentForChildIncludingScrollbar): (WebCore::RenderFlexibleBox::crossAxisExtent): (WebCore::RenderFlexibleBox::mainAxisExtent): (WebCore::RenderFlexibleBox::mainAxisContentExtent): (WebCore::RenderFlexibleBox::computeMainAxisExtentForChild): (WebCore::RenderFlexibleBox::transformedWritingMode): (WebCore::RenderFlexibleBox::flowAwareMarginStartForChild): (WebCore::RenderFlexibleBox::flowAwareMarginEndForChild): (WebCore::RenderFlexibleBox::flowAwareMarginBeforeForChild): (WebCore::RenderFlexibleBox::crossAxisMarginExtentForChild): (WebCore::RenderFlexibleBox::flowAwareLocationForChild): (WebCore::RenderFlexibleBox::useChildAspectRatio): (WebCore::RenderFlexibleBox::computeMainSizeFromAspectRatioUsing): (WebCore::RenderFlexibleBox::setFlowAwareLocationForChild): (WebCore::RenderFlexibleBox::mainAxisLengthIsDefinite): (WebCore::RenderFlexibleBox::crossAxisLengthIsDefinite): (WebCore::RenderFlexibleBox::cacheChildMainSize): (WebCore::RenderFlexibleBox::clearCachedMainSizeForChild): (WebCore::RenderFlexibleBox::computeInnerFlexBaseSizeForChild): (WebCore::RenderFlexibleBox::layoutFlexItems): (WebCore::RenderFlexibleBox::autoMarginOffsetInMainAxis): (WebCore::RenderFlexibleBox::updateAutoMarginsInMainAxis): (WebCore::RenderFlexibleBox::hasAutoMarginsInCrossAxis): (WebCore::RenderFlexibleBox::availableAlignmentSpaceForChild): (WebCore::RenderFlexibleBox::updateAutoMarginsInCrossAxis): (WebCore::RenderFlexibleBox::marginBoxAscentForChild): (WebCore::RenderFlexibleBox::computeChildMarginValue): (WebCore::RenderFlexibleBox::adjustChildSizeForMinAndMax): (WebCore::RenderFlexibleBox::crossSizeForPercentageResolution): (WebCore::RenderFlexibleBox::mainSizeForPercentageResolution): (WebCore::RenderFlexibleBox::childLogicalHeightForPercentageResolution): (WebCore::RenderFlexibleBox::adjustChildSizeForAspectRatioCrossAxisMinAndMax): (WebCore::RenderFlexibleBox::constructFlexItem): (WebCore::RenderFlexibleBox::freezeViolations): (WebCore::RenderFlexibleBox::freezeInflexibleItems): (WebCore::RenderFlexibleBox::resolveFlexibleLengths): (WebCore::alignmentOffset): (WebCore::RenderFlexibleBox::setOverrideMainAxisContentSizeForChild): (WebCore::RenderFlexibleBox::staticMainAxisPositionForPositionedChild): (WebCore::RenderFlexibleBox::staticCrossAxisPositionForPositionedChild): (WebCore::RenderFlexibleBox::staticInlinePositionForPositionedChild): (WebCore::RenderFlexibleBox::staticBlockPositionForPositionedChild): (WebCore::RenderFlexibleBox::setStaticPositionForPositionedLayout): (WebCore::RenderFlexibleBox::prepareChildForPositionedLayout): (WebCore::RenderFlexibleBox::alignmentForChild): (WebCore::RenderFlexibleBox::resetAutoMarginsAndLogicalTopInCrossAxis): (WebCore::RenderFlexibleBox::needToStretchChildLogicalHeight): (WebCore::RenderFlexibleBox::childHasIntrinsicMainAxisSize): (WebCore::RenderFlexibleBox::crossAxisOverflowForChild): (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): (WebCore::RenderFlexibleBox::layoutColumnReverse): (WebCore::initialAlignContentOffset): (WebCore::alignContentSpaceBetweenChildren): (WebCore::RenderFlexibleBox::alignFlexLines): (WebCore::RenderFlexibleBox::adjustAlignmentForChild): (WebCore::RenderFlexibleBox::alignChildren): (WebCore::RenderFlexibleBox::applyStretchAlignmentToChild): (WebCore::RenderFlexibleBox::flipForRightToLeftColumn): (WebCore::RenderFlexibleBox::flipForWrapReverse): (WebCore::RenderFlexibleBox::Violation::Violation): Deleted. (WebCore::RenderFlexibleBox::setCrossAxisExtent): Deleted. (WebCore::RenderFlexibleBox::flowAwareMarginAfterForChild): Deleted. (WebCore::RenderFlexibleBox::mainAxisBorderAndPaddingExtentForChild): Deleted. (WebCore::RenderFlexibleBox::mainAxisScrollbarExtentForChild): Deleted. (WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild): Deleted. (WebCore::RenderFlexibleBox::computeNextFlexLine): Deleted. (WebCore::RenderFlexibleBox::setLogicalOverrideSize): Deleted. (WebCore::RenderFlexibleBox::numberOfInFlowPositionedChildren): Deleted. (WebCore::RenderFlexibleBox::needToStretchChild): Deleted. (WebCore::contentAlignmentNormalBehaviorFlexibleBox): Deleted. * rendering/RenderFlexibleBox.h: (WebCore::RenderFlexibleBox::orderIterator): (WebCore::RenderFlexibleBox::isFlexibleBoxImpl): * rendering/RenderFullScreen.h: * rendering/RenderGrid.cpp: (WebCore::selfAlignmentChangedToStretchInRowAxis): (WebCore::selfAlignmentChangedFromStretchInRowAxis): (WebCore::selfAlignmentChangedFromStretchInColumnAxis): (WebCore::RenderGrid::styleDidChange): (WebCore::RenderGrid::computeTrackBasedLogicalHeight): (WebCore::RenderGrid::computeTrackSizesForDefiniteSize): (WebCore::RenderGrid::gridGapForDirection): (WebCore::RenderGrid::guttersSize): (WebCore::RenderGrid::computeTrackSizesForIndefiniteSize): (WebCore::RenderGrid::computeAutoRepeatTracksCount): (WebCore::RenderGrid::trackSizesForComputedStyle): (WebCore::RenderGrid::offsetAndBreadthForPositionedChild): (WebCore::RenderGrid::populateGridPositionsForDirection): (WebCore::RenderGrid::alignSelfForChild): (WebCore::RenderGrid::justifySelfForChild): (WebCore::RenderGrid::columnAxisPositionForChild): (WebCore::RenderGrid::rowAxisPositionForChild): (WebCore::RenderGrid::columnAxisOffsetForChild): (WebCore::RenderGrid::rowAxisOffsetForChild): (WebCore::RenderGrid::needToStretchChildLogicalHeight): Deleted. * rendering/RenderGrid.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateScrollbarsAfterLayout): * rendering/RenderListBox.cpp: (WebCore::RenderListBox::computeLogicalHeight): * rendering/RenderTable.cpp: (WebCore::RenderTable::layout): * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::layout): * rendering/RenderTableSection.cpp: (WebCore::shouldFlexCellChild): (WebCore::RenderTableSection::relayoutCellIfFlexed): (WebCore::RenderTableSection::layoutRows): * rendering/RenderTableSection.h: * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::computeLogicalHeight): * rendering/style/RenderStyle.cpp: (WebCore::resolvedSelfAlignment): (WebCore::RenderStyle::resolvedAlignSelf): (WebCore::RenderStyle::resolvedJustifySelf): * rendering/style/RenderStyle.h: * style/RenderTreeUpdater.cpp: (WebCore::textRendererIsNeeded): LayoutTests: * css3/flexbox/align-absolute-child-expected.txt: * css3/flexbox/align-absolute-child.html: * css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line-expected.txt: Added. * css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line.html: Added. * css3/flexbox/anonymous-block-merge-crash.html: * css3/flexbox/assert-generated-new-flexbox-expected.txt: Added. * css3/flexbox/assert-generated-new-flexbox.html: Added. * css3/flexbox/auto-height-dynamic-expected.txt: * css3/flexbox/auto-height-dynamic.html: * css3/flexbox/auto-height-with-flex-expected.html: Added. * css3/flexbox/auto-height-with-flex.html: Added. * css3/flexbox/auto-margins-expected.html: Removed. * css3/flexbox/auto-margins.html: Removed. * css3/flexbox/border-and-padding-abspos-expected.txt: Added. * css3/flexbox/border-and-padding-abspos.html: Added. * css3/flexbox/box-orient-button-expected.txt: Added. * css3/flexbox/box-orient-button.html: Added. * css3/flexbox/box-sizing-expected.txt: * css3/flexbox/box-sizing-min-max-sizes-expected.txt: * css3/flexbox/box-sizing-min-max-sizes.html: * css3/flexbox/box-sizing.html: * css3/flexbox/bug527039-expected.txt: Added. * css3/flexbox/bug527039.html: Added. * css3/flexbox/bug580586-expected.txt: Added. * css3/flexbox/bug580586.html: Added. * css3/flexbox/bug604346-expected.html: Added. * css3/flexbox/bug604346.html: Added. * css3/flexbox/bug605682-expected.txt: Added. * css3/flexbox/bug605682.html: Added. * css3/flexbox/bug633212-expected.txt: Added. * css3/flexbox/bug633212.html: Added. * css3/flexbox/bug646288-expected.txt: Added. * css3/flexbox/bug646288.html: Added. * css3/flexbox/bug669714-expected.txt: Added. * css3/flexbox/bug669714.html: Added. * css3/flexbox/canvas-dynamic-change-expected.txt: Added. * css3/flexbox/canvas-dynamic-change.html: Added. * css3/flexbox/change-flexitem-into-abspos-expected.txt: Added. * css3/flexbox/change-flexitem-into-abspos.html: Added. * css3/flexbox/child-overflow-expected.html: * css3/flexbox/child-overflow.html: * css3/flexbox/column-flex-child-with-overflow-scroll-expected.txt: Added. * css3/flexbox/column-flex-child-with-overflow-scroll.html: Added. * css3/flexbox/columns-auto-size.html: * css3/flexbox/columns-center-with-margins-and-wrap-expected.html: Added. * css3/flexbox/columns-center-with-margins-and-wrap.html: Added. * css3/flexbox/columns-center-with-margins-expected.html: Added. * css3/flexbox/columns-center-with-margins.html: Added. * css3/flexbox/columns-height-set-via-top-bottom-expected.txt: * css3/flexbox/columns-height-set-via-top-bottom.html: * css3/flexbox/content-height-with-scrollbars.html: * css3/flexbox/cross-axis-scrollbar-expected.html: * css3/flexbox/cross-axis-scrollbar.html: * css3/flexbox/css-properties-expected.txt: * css3/flexbox/css-properties.html: * css3/flexbox/csswg/flex-margin-no-collapse.html: * css3/flexbox/definite-cross-sizes-expected.txt: Added. * css3/flexbox/definite-cross-sizes.html: Added. * css3/flexbox/definite-main-size-expected.txt: Added. * css3/flexbox/definite-main-size.html: Added. * css3/flexbox/display-flexbox-set-get-expected.txt: * css3/flexbox/display-flexbox-set-get.html: * css3/flexbox/flex-algorithm-expected.txt: * css3/flexbox/flex-algorithm-min-max-expected.txt: * css3/flexbox/flex-algorithm-min-max.html: * css3/flexbox/flex-algorithm-with-margins-expected.txt: * css3/flexbox/flex-algorithm-with-margins.html: * css3/flexbox/flex-algorithm.html: * css3/flexbox/flex-align-baseline-expected.txt: * css3/flexbox/flex-align-baseline.html: * css3/flexbox/flex-align-column-expected.txt: * css3/flexbox/flex-align-column.html: * css3/flexbox/flex-align-end-expected.txt: * css3/flexbox/flex-align-end.html: * css3/flexbox/flex-align-max-expected.txt: * css3/flexbox/flex-align-max.html: * css3/flexbox/flex-align-percent-height-expected.txt: * css3/flexbox/flex-align-percent-height.html: * css3/flexbox/flex-align-stretch-expected.txt: * css3/flexbox/flex-align-stretch.html: * css3/flexbox/flex-align-vertical-writing-mode.html: * css3/flexbox/flex-align.html: * css3/flexbox/flex-column-relayout-assert-expected.txt: Added. * css3/flexbox/flex-column-relayout-assert.html: Added. * css3/flexbox/flex-factor-less-than-one-expected.txt: Added. * css3/flexbox/flex-factor-less-than-one.html: Added. * css3/flexbox/flex-flow-2-expected.txt: * css3/flexbox/flex-flow-2.html: * css3/flexbox/flex-flow-auto-margins-expected.txt: * css3/flexbox/flex-flow-auto-margins-no-available-space-assert-expected.txt: Added. * css3/flexbox/flex-flow-auto-margins-no-available-space-assert.html: Added. * css3/flexbox/flex-flow-auto-margins-no-available-space-expected.txt: * css3/flexbox/flex-flow-auto-margins-no-available-space.html: * css3/flexbox/flex-flow-auto-margins.html: * css3/flexbox/flex-flow-border-expected.txt: * css3/flexbox/flex-flow-border.html: * css3/flexbox/flex-flow-expected.txt: * css3/flexbox/flex-flow-initial-expected.txt: * css3/flexbox/flex-flow-initial.html: * css3/flexbox/flex-flow-margins-auto-size-expected.txt: * css3/flexbox/flex-flow-margins-auto-size.html: * css3/flexbox/flex-flow-margins-expected.txt: * css3/flexbox/flex-flow-margins.html: * css3/flexbox/flex-flow-orientations-expected.txt: * css3/flexbox/flex-flow-orientations.html: * css3/flexbox/flex-flow-overflow-expected.txt: * css3/flexbox/flex-flow-overflow.html: * css3/flexbox/flex-flow-padding-expected.txt: * css3/flexbox/flex-flow-padding.html: * css3/flexbox/flex-flow.html: * css3/flexbox/flex-item-child-overflow-expected.txt: * css3/flexbox/flex-item-child-overflow.html: * css3/flexbox/flex-item-contains-strict-expected.txt: Added. * css3/flexbox/flex-item-contains-strict.html: Added. * css3/flexbox/flex-item-firstLine-valid-expected.txt: * css3/flexbox/flex-item-firstLine-valid.html: * css3/flexbox/flex-justify-content-expected.txt: * css3/flexbox/flex-justify-content.html: * css3/flexbox/flex-longhand-parsing-expected.txt: * css3/flexbox/flex-longhand-parsing.html: * css3/flexbox/flex-no-flex-expected.txt: * css3/flexbox/flex-no-flex.html: * css3/flexbox/flex-one-sets-flex-basis-to-zero-px-expected.txt: Added. * css3/flexbox/flex-one-sets-flex-basis-to-zero-px.html: Added. * css3/flexbox/flex-order-expected.html: Added. * css3/flexbox/flex-order-expected.png: Removed. * css3/flexbox/flex-order-expected.txt: Removed. * css3/flexbox/flex-order.html: * css3/flexbox/flex-property-parsing-expected.txt: * css3/flexbox/flex-property-parsing.html: * css3/flexbox/flex-shorthand-flex-basis-middle-expected.txt: Added. * css3/flexbox/flex-shorthand-flex-basis-middle.html: Added. * css3/flexbox/flexbox-baseline.html: * css3/flexbox/flexbox-height-with-overflow-auto-expected.txt: Added. * css3/flexbox/flexbox-height-with-overflow-auto.html: Added. * css3/flexbox/flexbox-ignore-container-firstLetter-expected.txt: * css3/flexbox/flexbox-ignore-container-firstLetter.html: * css3/flexbox/flexbox-ignore-firstLetter-expected.txt: * css3/flexbox/flexbox-ignore-firstLetter.html: * css3/flexbox/flexbox-ignore-firstLine-expected.txt: * css3/flexbox/flexbox-ignore-firstLine.html: * css3/flexbox/flexbox-lines-must-be-stretched-by-default-expected.txt: * css3/flexbox/flexbox-lines-must-be-stretched-by-default.html: * css3/flexbox/flexbox-overflow-auto-expected.html: * css3/flexbox/flexbox-overflow-auto.html: * css3/flexbox/flexbox-with-multi-column-property-expected.html: Added. * css3/flexbox/flexbox-with-multi-column-property.html: Added. * css3/flexbox/flexbox-wordwrap-expected.txt: Added. * css3/flexbox/flexbox-wordwrap.html: Added. * css3/flexbox/flexitem-expected.txt: * css3/flexbox/flexitem-no-margin-collapsing-expected.txt: * css3/flexbox/flexitem-no-margin-collapsing.html: * css3/flexbox/flexitem-percent-height-change-expected.txt: * css3/flexbox/flexitem-percent-height-change.html: * css3/flexbox/flexitem-stretch-image-expected.txt: * css3/flexbox/flexitem-stretch-image.html: * css3/flexbox/flexitem-stretch-range.html: * css3/flexbox/flexitem.html: * css3/flexbox/floated-flexbox-expected.txt: * css3/flexbox/floated-flexbox.html: * css3/flexbox/floated-flexitem.html: * css3/flexbox/inline-flex-crash.html: * css3/flexbox/inline-flex-crash2.html: * css3/flexbox/inline-flex-expected.txt: * css3/flexbox/inline-flex.html: * css3/flexbox/inline-flexbox-ignore-firstLine-expected.txt: * css3/flexbox/inline-flexbox-ignore-firstLine.html: * css3/flexbox/inline-flexbox-wrap-vertically-width-calculation-expected.txt: Added. * css3/flexbox/inline-flexbox-wrap-vertically-width-calculation.html: Added. * css3/flexbox/insert-text-crash.html: * css3/flexbox/intrinsic-min-width-applies-with-fixed-width-expected.txt: * css3/flexbox/intrinsic-min-width-applies-with-fixed-width.html: * css3/flexbox/intrinsic-width-orthogonal-writing-mode-expected.txt: Added. * css3/flexbox/intrinsic-width-orthogonal-writing-mode.html: Added. * css3/flexbox/large-flex-shrink-assert-expected.txt: Added. * css3/flexbox/large-flex-shrink-assert.html: Added. * css3/flexbox/line-wrapping.html: * css3/flexbox/mainAxisExtent-crash-expected.txt: Added. * css3/flexbox/mainAxisExtent-crash.html: Added. * css3/flexbox/max-width-violation-expected.txt: Added. * css3/flexbox/max-width-violation.html: Added. * css3/flexbox/min-size-auto-expected.txt: * css3/flexbox/min-size-auto.html: * css3/flexbox/minimum-size-image-expected.txt: Added. * css3/flexbox/minimum-size-image.html: Added. * css3/flexbox/multiline-align-content-expected.txt: * css3/flexbox/multiline-align-content-horizontal-column-expected.txt: * css3/flexbox/multiline-align-content-horizontal-column.html: * css3/flexbox/multiline-align-content.html: * css3/flexbox/multiline-align-self-expected.txt: * css3/flexbox/multiline-align-self.html: * css3/flexbox/multiline-column-auto-expected.txt: * css3/flexbox/multiline-column-auto.html: * css3/flexbox/multiline-column-overflow-expected.html: Added. * css3/flexbox/multiline-column-overflow.html: Added. * css3/flexbox/multiline-expected.txt: * css3/flexbox/multiline-justify-content-expected.txt: * css3/flexbox/multiline-justify-content.html: * css3/flexbox/multiline-min-max-expected.txt: Added. * css3/flexbox/multiline-min-max.html: Added. * css3/flexbox/multiline-min-preferred-width-expected.txt: * css3/flexbox/multiline-min-preferred-width.html: * css3/flexbox/multiline-reverse-wrap-baseline.html: * css3/flexbox/multiline-reverse-wrap-overflow-expected.txt: * css3/flexbox/multiline-reverse-wrap-overflow.html: * css3/flexbox/multiline-shrink-to-fit-expected.html: * css3/flexbox/multiline-shrink-to-fit.html: * css3/flexbox/multiline.html: * css3/flexbox/negative-flex-rounding-assert.html: * css3/flexbox/negative-margins-assert.html: * css3/flexbox/negative-overflow-expected.txt: * css3/flexbox/negative-overflow.html: * css3/flexbox/nested-flexbox-min-size-auto-expected.txt: Added. * css3/flexbox/nested-flexbox-min-size-auto.html: Added. * css3/flexbox/nested-orthogonal-flexbox-relayout-expected.html: Added. * css3/flexbox/nested-orthogonal-flexbox-relayout.html: Added. * css3/flexbox/nested-stretch-expected.txt: * css3/flexbox/nested-stretch.html: * css3/flexbox/order-painting.html: * css3/flexbox/orthogonal-flex-directions-expected.txt: * css3/flexbox/orthogonal-flex-directions.html: * css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing-expected.txt: Added. * css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing.html: Added. * css3/flexbox/overflow-and-padding-expected.txt: Added. * css3/flexbox/overflow-and-padding.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-abspos-expected.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-abspos.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-expected.html: Added. * css3/flexbox/overflow-auto-dynamic-changes.html: Added. * css3/flexbox/overflow-auto-resizes-correctly-expected.txt: Added. * css3/flexbox/overflow-auto-resizes-correctly.html: Added. * css3/flexbox/overflow-keep-scrollpos-expected.txt: * css3/flexbox/overflow-keep-scrollpos.html: * css3/flexbox/percent-height-children-of-alignSelf-stretch-flex-item-expected.txt: Added. * css3/flexbox/percent-height-children-of-alignSelf-stretch-flex-item.html: Added. * css3/flexbox/percent-margins-expected.txt: * css3/flexbox/percent-margins.html: * css3/flexbox/percentage-height-in-abspos-expected.html: Added. * css3/flexbox/percentage-height-in-abspos.html: Added. * css3/flexbox/percentage-height-replaced-element-expected.txt: Added. * css3/flexbox/percentage-height-replaced-element.html: Added. * css3/flexbox/percentage-heights-expected.txt: * css3/flexbox/percentage-heights.html: * css3/flexbox/percentage-max-width-cross-axis-expected.txt: Added. * css3/flexbox/percentage-max-width-cross-axis.html: Added. * css3/flexbox/percentage-sizes-expected.txt: * css3/flexbox/percentage-sizes-quirks-expected.txt: * css3/flexbox/percentage-sizes-quirks.html: * css3/flexbox/percentage-sizes.html: * css3/flexbox/percentage-width-in-abspos-expected.html: Added. * css3/flexbox/percentage-width-in-abspos.html: Added. * css3/flexbox/perpendicular-writing-modes-inside-flex-item-expected.txt: * css3/flexbox/perpendicular-writing-modes-inside-flex-item.html: * css3/flexbox/position-absolute-child-expected.txt: * css3/flexbox/position-absolute-child.html: * css3/flexbox/position-absolute-children-expected.txt: * css3/flexbox/position-absolute-children.html: * css3/flexbox/preferred-widths-expected.txt: * css3/flexbox/preferred-widths-orthogonal.html: * css3/flexbox/preferred-widths.html: * css3/flexbox/relayout-align-items-expected.txt: * css3/flexbox/relayout-align-items.html: * css3/flexbox/relayout-image-load-expected.txt: * css3/flexbox/relayout-image-load.html: * css3/flexbox/relpos-with-percentage-top-expected.txt: Added. * css3/flexbox/relpos-with-percentage-top.html: Added. * css3/flexbox/relpos-with-scrollable-with-abspos-crash-expected.txt: Added. * css3/flexbox/relpos-with-scrollable-with-abspos-crash.html: Added. * css3/flexbox/resize-min-content-flexbox-expected.txt: Added. * css3/flexbox/resize-min-content-flexbox.html: Added. * css3/flexbox/resources/box-orient-button.js: Added. (setFlexDirection): (gebi): (test): * css3/flexbox/scrollbars-auto-expected.html: Added. * css3/flexbox/scrollbars-auto.html: Added. * css3/flexbox/scrollbars-expected.html: Added. * css3/flexbox/scrollbars.html: Added. * css3/flexbox/shrinking-column-flexbox-expected.txt: Added. * css3/flexbox/shrinking-column-flexbox.html: Added. * css3/flexbox/stretch-after-sibling-size-change-expected.txt: * css3/flexbox/stretch-after-sibling-size-change.html: * css3/flexbox/stretch-input-in-column-expected.html: * css3/flexbox/stretch-simplified-layout-expected.txt: * css3/flexbox/stretch-simplified-layout.html: * css3/flexbox/stretch-table-child-expected.txt: Added. * css3/flexbox/stretch-table-child.html: Added. * css3/flexbox/stretched-child-shrink-on-relayout-expected.txt: Added. * css3/flexbox/stretched-child-shrink-on-relayout.html: Added. * css3/flexbox/stretching-orthogonal-flows-expected.html: Added. * css3/flexbox/stretching-orthogonal-flows.html: Added. * css3/flexbox/style-change-expected.txt: * css3/flexbox/style-change.html: * css3/flexbox/text-overflow-on-flexbox-expected.html: Added. * css3/flexbox/text-overflow-on-flexbox.html: Added. * css3/flexbox/true-centering-expected.txt: * css3/flexbox/true-centering.html: * css3/flexbox/undefined-min-width-expected.txt: Added. * css3/flexbox/undefined-min-width.html: Added. * css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html: Added. * css3/flexbox/vertical-align-do-not-effect-flex-items.html: Added. * css3/flexbox/vertical-flexbox-percentage-ignored-expected.html: Added. * css3/flexbox/vertical-flexbox-percentage-ignored.html: Added. * css3/flexbox/whitespace-in-flexitem-expected.html: Added. * css3/flexbox/whitespace-in-flexitem.html: Added. * css3/flexbox/width-change-and-relayout-children-expected.txt: * css3/flexbox/width-change-and-relayout-children.html: * css3/flexbox/wrapping-column-dynamic-changes-expected.txt: Added. * css3/flexbox/wrapping-column-dynamic-changes.html: Added. * css3/flexbox/writing-modes-expected.txt: * css3/flexbox/writing-modes.html: * css3/flexbox/z-index.html: * resources/check-layout-th.js: Added. (checkSubtreeExpectedValues): (checkAttribute): (assert_tolerance): (checkExpectedValues): (window.checkLayout): Canonical link: https://commits.webkit.org/185959@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-28 16:23:15 +00:00
window.checkLayout = function(selectorList, outputContainer)
{
if (!selectorList) {
console.error("You must provide a CSS selector of nodes to check.");
return;
}
var nodes = document.querySelectorAll(selectorList);
Update testharness.js from upstream https://bugs.webkit.org/show_bug.cgi?id=201808 Reviewed by Darin Adler. LayoutTests/imported/w3c: Update existing layout tests so that they are compatible with this new version of testharness.js. * IndexedDB-private-browsing/idbdatabase_createObjectStore9-invalidparameters.html: * IndexedDB-private-browsing/idbobjectstore_deleted.html: * web-platform-tests/custom-elements/resources/custom-elements-helpers.js: (create_window_in_test): LayoutTests: Update testharness.js from upstream 6fd5e1e086ce590a4780a30d12968. Update existing layout tests so that they are compatible with this new version of testharness.js. * TestExpectations: * css-custom-properties-api/length-expected.txt: * css-custom-properties-api/length.html: * css-custom-properties-api/registerProperty.html: * css-dark-mode/older-systems/color-scheme-css-expected.txt: * css-dark-mode/older-systems/color-scheme-css.html: * css-dark-mode/older-systems/color-scheme-meta-expected.txt: * css-dark-mode/older-systems/color-scheme-meta.html: * css3/flexbox/style-change-expected.txt: * fast/css/DOMQuad-serialization.html: * fast/css/Element-style.html: * fast/css/parse-justify-self-expected.txt: * fast/css/parse-justify-self.html: * fast/events/clipboard-event-constructor-expected.txt: * fast/events/clipboard-event-constructor.html: * fast/media/mq-js-update-media-expected.txt: * fast/media/mq-js-update-media.html: * fast/mediacapturefromelement/CanvasCaptureMediaStream-offscreencanvas-expected.txt: * fast/mediastream/captureStream/canvas2d-expected.txt: * fast/mediastream/captureStream/canvas2d-heavy-drawing.html: * fast/mediastream/captureStream/canvas2d.html: * fast/shadow-dom/event-path-with-window-expected.txt: * fast/shadow-dom/event-path-with-window.html: * fast/shadow-dom/offsetParent-across-shadow-boundaries-expected.txt: * fast/shadow-dom/offsetParent-across-shadow-boundaries.html: * fast/shadow-dom/slotchange-for-slot-mutation-expected.txt: * fast/shadow-dom/slotchange-for-slot-mutation.html: * fast/shadow-dom/stylesheet-title-in-shadow-tree-expected.txt: * fast/shadow-dom/stylesheet-title-in-shadow-tree.html: * http/tests/fetch/redirectmode-and-preload-expected.txt: * http/tests/fetch/redirectmode-and-preload.html: * imported/blink/editing/selection/selectstart-event-crash-expected.txt: * js/promises-tests/promises-in-workers-expected.txt: * js/promises-tests/promises-in-workers.js: * resources/check-layout-th.js: (window.checkLayout): * resources/testharness.js: (WindowTestEnvironment): (WindowTestEnvironment.prototype._dispatch): (WindowTestEnvironment.prototype._forEach_windows): (WindowTestEnvironment.prototype.next_default_test_name): (WorkerTestEnvironment.prototype.next_default_test_name): (ServiceWorkerTestEnvironment.on_all_loaded): (ServiceWorkerTestEnvironment): (ShellTestEnvironment): (ShellTestEnvironment.prototype.next_default_test_name): (ShellTestEnvironment.prototype.on_new_harness_properties): (ShellTestEnvironment.prototype.on_tests_ready): (ShellTestEnvironment.prototype.add_on_loaded_callback): (ShellTestEnvironment.prototype.test_timeout): (create_test_environment): (is_shared_worker): (is_service_worker): (test): (promise_test): (this.wait_for): (EventWatcher): (done): * streams/readable-byte-stream-controller-expected.txt: * streams/readable-byte-stream-controller-worker-expected.txt: Added. * streams/readable-byte-stream-controller-worker.html: Copied from LayoutTests/streams/readable-byte-stream-controller.html. * streams/readable-byte-stream-controller.html: * streams/readable-stream-byob-reader-expected.txt: * streams/readable-stream-byob-reader-worker-expected.txt: Added. * streams/readable-stream-byob-reader-worker.html: Copied from LayoutTests/streams/readable-stream-byob-reader.html. * streams/readable-stream-byob-reader.html: * streams/readable-stream-byob-request-expected.txt: * streams/readable-stream-byob-request-worker-expected.txt: Copied from LayoutTests/streams/readable-stream-byob-request-expected.txt. * streams/readable-stream-byob-request-worker.html: Copied from LayoutTests/streams/readable-stream-byob-request.html. * streams/readable-stream-byob-request.html: * streams/reference-implementation/readable-stream-templated-expected.txt: * streams/reference-implementation/readable-stream-templated.html: * streams/reference-implementation/writable-stream-abort-expected.txt: * streams/reference-implementation/writable-stream-expected.txt: * webrtc/datachannel/basic-expected.txt: * webrtc/datachannel/basic.html: * webrtc/datachannel/mdns-ice-candidates-expected.txt: * webrtc/datachannel/mdns-ice-candidates.html: * webrtc/pc-detached-document-expected.txt: * webrtc/pc-detached-document.html: * webrtc/video-mute-expected.txt: * webrtc/video-mute-vp8-expected.txt: * webrtc/video-mute-vp8.html: * webrtc/video-mute.html: Canonical link: https://commits.webkit.org/215471@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-16 21:04:08 +00:00
let testNumber = 0;
if (testNumbers.has("" + selectorList))
testNumber = testNumbers.get("" + selectorList);
Update flexbox to Blink's tip of tree https://bugs.webkit.org/show_bug.cgi?id=168657 Reviewed by Zalan Bujtas. Source/WebCore: Added new tests in css3/flexbox. * CMakeLists.txt: * WebCore.xcodeproj/project.pbxproj: * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::propertyValue): * rendering/FlexibleBoxAlgorithm.cpp: Added. (WebCore::FlexItem::FlexItem): (WebCore::FlexLayoutAlgorithm::FlexLayoutAlgorithm): (WebCore::FlexLayoutAlgorithm::computeNextFlexLine): * rendering/FlexibleBoxAlgorithm.h: Added. (WebCore::FlexItem::hypotheticalMainAxisMarginBoxSize): (WebCore::FlexItem::flexBaseMarginBoxSize): (WebCore::FlexItem::flexedMarginBoxSize): (WebCore::FlexLayoutAlgorithm::isMultiline): * rendering/GridTrackSizingAlgorithm.cpp: (WebCore::GridTrackSizingAlgorithm::computeTrackBasedSize): (WebCore::GridTrackSizingAlgorithm::increaseSizesToAccommodateSpanningItems): (WebCore::GridTrackSizingAlgorithm::assumedRowsSizeForOrthogonalChild): (WebCore::GridTrackSizingAlgorithm::gridAreaBreadthForChild): (WebCore::IndefiniteSizeStrategy::recomputeUsedFlexFractionIfNeeded): * rendering/GridTrackSizingAlgorithm.h: * rendering/OrderIterator.cpp: (WebCore::OrderIterator::next): (WebCore::OrderIterator::reset): (WebCore::OrderIteratorPopulator::~OrderIteratorPopulator): (WebCore::OrderIteratorPopulator::collectChild): (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): Deleted. (WebCore::OrderIteratorPopulator::removeDuplicatedOrderValues): Deleted. * rendering/OrderIterator.h: (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::updateBlockChildDirtyBitsBeforeLayout): (WebCore::RenderBlock::layoutPositionedObject): (WebCore::RenderBlock::computeBlockPreferredLogicalWidths): (WebCore::RenderBlock::computeChildPreferredLogicalWidths): (WebCore::RenderBlock::hasDefiniteLogicalHeight): (WebCore::RenderBlock::availableLogicalHeightForPercentageComputation): * rendering/RenderBlock.h: (WebCore::RenderBlock::hasPercentHeightDescendants): * rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths): * rendering/RenderBox.cpp: (WebCore::RenderBox::columnFlexItemHasStretchAlignment): (WebCore::RenderBox::isStretchingColumnFlexItem): (WebCore::RenderBox::hasStretchedLogicalWidth): (WebCore::RenderBox::sizesLogicalWidthToFitContent): (WebCore::RenderBox::computeInlineDirectionMargins): (WebCore::RenderBox::cacheIntrinsicContentLogicalHeightForFlexItem): (WebCore::RenderBox::updateLogicalHeight): (WebCore::RenderBox::computeLogicalHeightWithoutLayout): (WebCore::RenderBox::skipContainingBlockForPercentHeightCalculation): (WebCore::RenderBox::shouldTreatChildAsReplacedInTableCells): (WebCore::tableCellShouldHaveZeroInitialSize): (WebCore::RenderBox::computePercentageLogicalHeight): (WebCore::RenderBox::computeReplacedLogicalHeightUsing): (WebCore::RenderBox::availableLogicalHeightUsing): (WebCore::RenderBox::percentageLogicalHeightIsResolvable): (WebCore::RenderBox::hasUnsplittableScrollingOverflow): (WebCore::flexItemHasStretchAlignment): Deleted. (WebCore::isStretchingColumnFlexItem): Deleted. (WebCore::logicalWidthIsResolvable): Deleted. (WebCore::RenderBox::hasDefiniteLogicalWidth): Deleted. (WebCore::percentageLogicalHeightIsResolvable): Deleted. (WebCore::RenderBox::percentageLogicalHeightIsResolvableFromBlock): Deleted. (WebCore::RenderBox::hasDefiniteLogicalHeight): Deleted. * rendering/RenderBox.h: (WebCore::RenderBox::isGridItem): (WebCore::RenderBox::isFlexItem): (WebCore::RenderBox::selfAlignmentNormalBehavior): * rendering/RenderBoxModelObject.cpp: (WebCore::isOutOfFlowPositionedWithImplicitHeight): (WebCore::RenderBoxModelObject::containingBlockForAutoHeightDetection): (WebCore::RenderBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight): * rendering/RenderBoxModelObject.h: * rendering/RenderElement.cpp: (WebCore::RenderElement::removeChildInternal): * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::LineContext::LineContext): (WebCore::RenderFlexibleBox::RenderFlexibleBox): (WebCore::RenderFlexibleBox::computeIntrinsicLogicalWidths): (WebCore::contentAlignmentNormalBehavior): (WebCore::RenderFlexibleBox::styleDidChange): (WebCore::RenderFlexibleBox::layoutBlock): (WebCore::RenderFlexibleBox::repositionLogicalHeightDependentFlexItems): (WebCore::RenderFlexibleBox::clientLogicalBottomAfterRepositioning): (WebCore::RenderFlexibleBox::hasOrthogonalFlow): (WebCore::RenderFlexibleBox::flexBasisForChild): (WebCore::RenderFlexibleBox::crossAxisExtentForChild): (WebCore::RenderFlexibleBox::cachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::setCachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::clearCachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::childIntrinsicLogicalHeight): (WebCore::RenderFlexibleBox::childIntrinsicLogicalWidth): (WebCore::RenderFlexibleBox::crossAxisIntrinsicExtentForChild): (WebCore::RenderFlexibleBox::mainAxisExtentForChild): (WebCore::RenderFlexibleBox::mainAxisContentExtentForChildIncludingScrollbar): (WebCore::RenderFlexibleBox::crossAxisExtent): (WebCore::RenderFlexibleBox::mainAxisExtent): (WebCore::RenderFlexibleBox::mainAxisContentExtent): (WebCore::RenderFlexibleBox::computeMainAxisExtentForChild): (WebCore::RenderFlexibleBox::transformedWritingMode): (WebCore::RenderFlexibleBox::flowAwareMarginStartForChild): (WebCore::RenderFlexibleBox::flowAwareMarginEndForChild): (WebCore::RenderFlexibleBox::flowAwareMarginBeforeForChild): (WebCore::RenderFlexibleBox::crossAxisMarginExtentForChild): (WebCore::RenderFlexibleBox::flowAwareLocationForChild): (WebCore::RenderFlexibleBox::useChildAspectRatio): (WebCore::RenderFlexibleBox::computeMainSizeFromAspectRatioUsing): (WebCore::RenderFlexibleBox::setFlowAwareLocationForChild): (WebCore::RenderFlexibleBox::mainAxisLengthIsDefinite): (WebCore::RenderFlexibleBox::crossAxisLengthIsDefinite): (WebCore::RenderFlexibleBox::cacheChildMainSize): (WebCore::RenderFlexibleBox::clearCachedMainSizeForChild): (WebCore::RenderFlexibleBox::computeInnerFlexBaseSizeForChild): (WebCore::RenderFlexibleBox::layoutFlexItems): (WebCore::RenderFlexibleBox::autoMarginOffsetInMainAxis): (WebCore::RenderFlexibleBox::updateAutoMarginsInMainAxis): (WebCore::RenderFlexibleBox::hasAutoMarginsInCrossAxis): (WebCore::RenderFlexibleBox::availableAlignmentSpaceForChild): (WebCore::RenderFlexibleBox::updateAutoMarginsInCrossAxis): (WebCore::RenderFlexibleBox::marginBoxAscentForChild): (WebCore::RenderFlexibleBox::computeChildMarginValue): (WebCore::RenderFlexibleBox::adjustChildSizeForMinAndMax): (WebCore::RenderFlexibleBox::crossSizeForPercentageResolution): (WebCore::RenderFlexibleBox::mainSizeForPercentageResolution): (WebCore::RenderFlexibleBox::childLogicalHeightForPercentageResolution): (WebCore::RenderFlexibleBox::adjustChildSizeForAspectRatioCrossAxisMinAndMax): (WebCore::RenderFlexibleBox::constructFlexItem): (WebCore::RenderFlexibleBox::freezeViolations): (WebCore::RenderFlexibleBox::freezeInflexibleItems): (WebCore::RenderFlexibleBox::resolveFlexibleLengths): (WebCore::alignmentOffset): (WebCore::RenderFlexibleBox::setOverrideMainAxisContentSizeForChild): (WebCore::RenderFlexibleBox::staticMainAxisPositionForPositionedChild): (WebCore::RenderFlexibleBox::staticCrossAxisPositionForPositionedChild): (WebCore::RenderFlexibleBox::staticInlinePositionForPositionedChild): (WebCore::RenderFlexibleBox::staticBlockPositionForPositionedChild): (WebCore::RenderFlexibleBox::setStaticPositionForPositionedLayout): (WebCore::RenderFlexibleBox::prepareChildForPositionedLayout): (WebCore::RenderFlexibleBox::alignmentForChild): (WebCore::RenderFlexibleBox::resetAutoMarginsAndLogicalTopInCrossAxis): (WebCore::RenderFlexibleBox::needToStretchChildLogicalHeight): (WebCore::RenderFlexibleBox::childHasIntrinsicMainAxisSize): (WebCore::RenderFlexibleBox::crossAxisOverflowForChild): (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): (WebCore::RenderFlexibleBox::layoutColumnReverse): (WebCore::initialAlignContentOffset): (WebCore::alignContentSpaceBetweenChildren): (WebCore::RenderFlexibleBox::alignFlexLines): (WebCore::RenderFlexibleBox::adjustAlignmentForChild): (WebCore::RenderFlexibleBox::alignChildren): (WebCore::RenderFlexibleBox::applyStretchAlignmentToChild): (WebCore::RenderFlexibleBox::flipForRightToLeftColumn): (WebCore::RenderFlexibleBox::flipForWrapReverse): (WebCore::RenderFlexibleBox::Violation::Violation): Deleted. (WebCore::RenderFlexibleBox::setCrossAxisExtent): Deleted. (WebCore::RenderFlexibleBox::flowAwareMarginAfterForChild): Deleted. (WebCore::RenderFlexibleBox::mainAxisBorderAndPaddingExtentForChild): Deleted. (WebCore::RenderFlexibleBox::mainAxisScrollbarExtentForChild): Deleted. (WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild): Deleted. (WebCore::RenderFlexibleBox::computeNextFlexLine): Deleted. (WebCore::RenderFlexibleBox::setLogicalOverrideSize): Deleted. (WebCore::RenderFlexibleBox::numberOfInFlowPositionedChildren): Deleted. (WebCore::RenderFlexibleBox::needToStretchChild): Deleted. (WebCore::contentAlignmentNormalBehaviorFlexibleBox): Deleted. * rendering/RenderFlexibleBox.h: (WebCore::RenderFlexibleBox::orderIterator): (WebCore::RenderFlexibleBox::isFlexibleBoxImpl): * rendering/RenderFullScreen.h: * rendering/RenderGrid.cpp: (WebCore::selfAlignmentChangedToStretchInRowAxis): (WebCore::selfAlignmentChangedFromStretchInRowAxis): (WebCore::selfAlignmentChangedFromStretchInColumnAxis): (WebCore::RenderGrid::styleDidChange): (WebCore::RenderGrid::computeTrackBasedLogicalHeight): (WebCore::RenderGrid::computeTrackSizesForDefiniteSize): (WebCore::RenderGrid::gridGapForDirection): (WebCore::RenderGrid::guttersSize): (WebCore::RenderGrid::computeTrackSizesForIndefiniteSize): (WebCore::RenderGrid::computeAutoRepeatTracksCount): (WebCore::RenderGrid::trackSizesForComputedStyle): (WebCore::RenderGrid::offsetAndBreadthForPositionedChild): (WebCore::RenderGrid::populateGridPositionsForDirection): (WebCore::RenderGrid::alignSelfForChild): (WebCore::RenderGrid::justifySelfForChild): (WebCore::RenderGrid::columnAxisPositionForChild): (WebCore::RenderGrid::rowAxisPositionForChild): (WebCore::RenderGrid::columnAxisOffsetForChild): (WebCore::RenderGrid::rowAxisOffsetForChild): (WebCore::RenderGrid::needToStretchChildLogicalHeight): Deleted. * rendering/RenderGrid.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateScrollbarsAfterLayout): * rendering/RenderListBox.cpp: (WebCore::RenderListBox::computeLogicalHeight): * rendering/RenderTable.cpp: (WebCore::RenderTable::layout): * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::layout): * rendering/RenderTableSection.cpp: (WebCore::shouldFlexCellChild): (WebCore::RenderTableSection::relayoutCellIfFlexed): (WebCore::RenderTableSection::layoutRows): * rendering/RenderTableSection.h: * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::computeLogicalHeight): * rendering/style/RenderStyle.cpp: (WebCore::resolvedSelfAlignment): (WebCore::RenderStyle::resolvedAlignSelf): (WebCore::RenderStyle::resolvedJustifySelf): * rendering/style/RenderStyle.h: * style/RenderTreeUpdater.cpp: (WebCore::textRendererIsNeeded): LayoutTests: * css3/flexbox/align-absolute-child-expected.txt: * css3/flexbox/align-absolute-child.html: * css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line-expected.txt: Added. * css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line.html: Added. * css3/flexbox/anonymous-block-merge-crash.html: * css3/flexbox/assert-generated-new-flexbox-expected.txt: Added. * css3/flexbox/assert-generated-new-flexbox.html: Added. * css3/flexbox/auto-height-dynamic-expected.txt: * css3/flexbox/auto-height-dynamic.html: * css3/flexbox/auto-height-with-flex-expected.html: Added. * css3/flexbox/auto-height-with-flex.html: Added. * css3/flexbox/auto-margins-expected.html: Removed. * css3/flexbox/auto-margins.html: Removed. * css3/flexbox/border-and-padding-abspos-expected.txt: Added. * css3/flexbox/border-and-padding-abspos.html: Added. * css3/flexbox/box-orient-button-expected.txt: Added. * css3/flexbox/box-orient-button.html: Added. * css3/flexbox/box-sizing-expected.txt: * css3/flexbox/box-sizing-min-max-sizes-expected.txt: * css3/flexbox/box-sizing-min-max-sizes.html: * css3/flexbox/box-sizing.html: * css3/flexbox/bug527039-expected.txt: Added. * css3/flexbox/bug527039.html: Added. * css3/flexbox/bug580586-expected.txt: Added. * css3/flexbox/bug580586.html: Added. * css3/flexbox/bug604346-expected.html: Added. * css3/flexbox/bug604346.html: Added. * css3/flexbox/bug605682-expected.txt: Added. * css3/flexbox/bug605682.html: Added. * css3/flexbox/bug633212-expected.txt: Added. * css3/flexbox/bug633212.html: Added. * css3/flexbox/bug646288-expected.txt: Added. * css3/flexbox/bug646288.html: Added. * css3/flexbox/bug669714-expected.txt: Added. * css3/flexbox/bug669714.html: Added. * css3/flexbox/canvas-dynamic-change-expected.txt: Added. * css3/flexbox/canvas-dynamic-change.html: Added. * css3/flexbox/change-flexitem-into-abspos-expected.txt: Added. * css3/flexbox/change-flexitem-into-abspos.html: Added. * css3/flexbox/child-overflow-expected.html: * css3/flexbox/child-overflow.html: * css3/flexbox/column-flex-child-with-overflow-scroll-expected.txt: Added. * css3/flexbox/column-flex-child-with-overflow-scroll.html: Added. * css3/flexbox/columns-auto-size.html: * css3/flexbox/columns-center-with-margins-and-wrap-expected.html: Added. * css3/flexbox/columns-center-with-margins-and-wrap.html: Added. * css3/flexbox/columns-center-with-margins-expected.html: Added. * css3/flexbox/columns-center-with-margins.html: Added. * css3/flexbox/columns-height-set-via-top-bottom-expected.txt: * css3/flexbox/columns-height-set-via-top-bottom.html: * css3/flexbox/content-height-with-scrollbars.html: * css3/flexbox/cross-axis-scrollbar-expected.html: * css3/flexbox/cross-axis-scrollbar.html: * css3/flexbox/css-properties-expected.txt: * css3/flexbox/css-properties.html: * css3/flexbox/csswg/flex-margin-no-collapse.html: * css3/flexbox/definite-cross-sizes-expected.txt: Added. * css3/flexbox/definite-cross-sizes.html: Added. * css3/flexbox/definite-main-size-expected.txt: Added. * css3/flexbox/definite-main-size.html: Added. * css3/flexbox/display-flexbox-set-get-expected.txt: * css3/flexbox/display-flexbox-set-get.html: * css3/flexbox/flex-algorithm-expected.txt: * css3/flexbox/flex-algorithm-min-max-expected.txt: * css3/flexbox/flex-algorithm-min-max.html: * css3/flexbox/flex-algorithm-with-margins-expected.txt: * css3/flexbox/flex-algorithm-with-margins.html: * css3/flexbox/flex-algorithm.html: * css3/flexbox/flex-align-baseline-expected.txt: * css3/flexbox/flex-align-baseline.html: * css3/flexbox/flex-align-column-expected.txt: * css3/flexbox/flex-align-column.html: * css3/flexbox/flex-align-end-expected.txt: * css3/flexbox/flex-align-end.html: * css3/flexbox/flex-align-max-expected.txt: * css3/flexbox/flex-align-max.html: * css3/flexbox/flex-align-percent-height-expected.txt: * css3/flexbox/flex-align-percent-height.html: * css3/flexbox/flex-align-stretch-expected.txt: * css3/flexbox/flex-align-stretch.html: * css3/flexbox/flex-align-vertical-writing-mode.html: * css3/flexbox/flex-align.html: * css3/flexbox/flex-column-relayout-assert-expected.txt: Added. * css3/flexbox/flex-column-relayout-assert.html: Added. * css3/flexbox/flex-factor-less-than-one-expected.txt: Added. * css3/flexbox/flex-factor-less-than-one.html: Added. * css3/flexbox/flex-flow-2-expected.txt: * css3/flexbox/flex-flow-2.html: * css3/flexbox/flex-flow-auto-margins-expected.txt: * css3/flexbox/flex-flow-auto-margins-no-available-space-assert-expected.txt: Added. * css3/flexbox/flex-flow-auto-margins-no-available-space-assert.html: Added. * css3/flexbox/flex-flow-auto-margins-no-available-space-expected.txt: * css3/flexbox/flex-flow-auto-margins-no-available-space.html: * css3/flexbox/flex-flow-auto-margins.html: * css3/flexbox/flex-flow-border-expected.txt: * css3/flexbox/flex-flow-border.html: * css3/flexbox/flex-flow-expected.txt: * css3/flexbox/flex-flow-initial-expected.txt: * css3/flexbox/flex-flow-initial.html: * css3/flexbox/flex-flow-margins-auto-size-expected.txt: * css3/flexbox/flex-flow-margins-auto-size.html: * css3/flexbox/flex-flow-margins-expected.txt: * css3/flexbox/flex-flow-margins.html: * css3/flexbox/flex-flow-orientations-expected.txt: * css3/flexbox/flex-flow-orientations.html: * css3/flexbox/flex-flow-overflow-expected.txt: * css3/flexbox/flex-flow-overflow.html: * css3/flexbox/flex-flow-padding-expected.txt: * css3/flexbox/flex-flow-padding.html: * css3/flexbox/flex-flow.html: * css3/flexbox/flex-item-child-overflow-expected.txt: * css3/flexbox/flex-item-child-overflow.html: * css3/flexbox/flex-item-contains-strict-expected.txt: Added. * css3/flexbox/flex-item-contains-strict.html: Added. * css3/flexbox/flex-item-firstLine-valid-expected.txt: * css3/flexbox/flex-item-firstLine-valid.html: * css3/flexbox/flex-justify-content-expected.txt: * css3/flexbox/flex-justify-content.html: * css3/flexbox/flex-longhand-parsing-expected.txt: * css3/flexbox/flex-longhand-parsing.html: * css3/flexbox/flex-no-flex-expected.txt: * css3/flexbox/flex-no-flex.html: * css3/flexbox/flex-one-sets-flex-basis-to-zero-px-expected.txt: Added. * css3/flexbox/flex-one-sets-flex-basis-to-zero-px.html: Added. * css3/flexbox/flex-order-expected.html: Added. * css3/flexbox/flex-order-expected.png: Removed. * css3/flexbox/flex-order-expected.txt: Removed. * css3/flexbox/flex-order.html: * css3/flexbox/flex-property-parsing-expected.txt: * css3/flexbox/flex-property-parsing.html: * css3/flexbox/flex-shorthand-flex-basis-middle-expected.txt: Added. * css3/flexbox/flex-shorthand-flex-basis-middle.html: Added. * css3/flexbox/flexbox-baseline.html: * css3/flexbox/flexbox-height-with-overflow-auto-expected.txt: Added. * css3/flexbox/flexbox-height-with-overflow-auto.html: Added. * css3/flexbox/flexbox-ignore-container-firstLetter-expected.txt: * css3/flexbox/flexbox-ignore-container-firstLetter.html: * css3/flexbox/flexbox-ignore-firstLetter-expected.txt: * css3/flexbox/flexbox-ignore-firstLetter.html: * css3/flexbox/flexbox-ignore-firstLine-expected.txt: * css3/flexbox/flexbox-ignore-firstLine.html: * css3/flexbox/flexbox-lines-must-be-stretched-by-default-expected.txt: * css3/flexbox/flexbox-lines-must-be-stretched-by-default.html: * css3/flexbox/flexbox-overflow-auto-expected.html: * css3/flexbox/flexbox-overflow-auto.html: * css3/flexbox/flexbox-with-multi-column-property-expected.html: Added. * css3/flexbox/flexbox-with-multi-column-property.html: Added. * css3/flexbox/flexbox-wordwrap-expected.txt: Added. * css3/flexbox/flexbox-wordwrap.html: Added. * css3/flexbox/flexitem-expected.txt: * css3/flexbox/flexitem-no-margin-collapsing-expected.txt: * css3/flexbox/flexitem-no-margin-collapsing.html: * css3/flexbox/flexitem-percent-height-change-expected.txt: * css3/flexbox/flexitem-percent-height-change.html: * css3/flexbox/flexitem-stretch-image-expected.txt: * css3/flexbox/flexitem-stretch-image.html: * css3/flexbox/flexitem-stretch-range.html: * css3/flexbox/flexitem.html: * css3/flexbox/floated-flexbox-expected.txt: * css3/flexbox/floated-flexbox.html: * css3/flexbox/floated-flexitem.html: * css3/flexbox/inline-flex-crash.html: * css3/flexbox/inline-flex-crash2.html: * css3/flexbox/inline-flex-expected.txt: * css3/flexbox/inline-flex.html: * css3/flexbox/inline-flexbox-ignore-firstLine-expected.txt: * css3/flexbox/inline-flexbox-ignore-firstLine.html: * css3/flexbox/inline-flexbox-wrap-vertically-width-calculation-expected.txt: Added. * css3/flexbox/inline-flexbox-wrap-vertically-width-calculation.html: Added. * css3/flexbox/insert-text-crash.html: * css3/flexbox/intrinsic-min-width-applies-with-fixed-width-expected.txt: * css3/flexbox/intrinsic-min-width-applies-with-fixed-width.html: * css3/flexbox/intrinsic-width-orthogonal-writing-mode-expected.txt: Added. * css3/flexbox/intrinsic-width-orthogonal-writing-mode.html: Added. * css3/flexbox/large-flex-shrink-assert-expected.txt: Added. * css3/flexbox/large-flex-shrink-assert.html: Added. * css3/flexbox/line-wrapping.html: * css3/flexbox/mainAxisExtent-crash-expected.txt: Added. * css3/flexbox/mainAxisExtent-crash.html: Added. * css3/flexbox/max-width-violation-expected.txt: Added. * css3/flexbox/max-width-violation.html: Added. * css3/flexbox/min-size-auto-expected.txt: * css3/flexbox/min-size-auto.html: * css3/flexbox/minimum-size-image-expected.txt: Added. * css3/flexbox/minimum-size-image.html: Added. * css3/flexbox/multiline-align-content-expected.txt: * css3/flexbox/multiline-align-content-horizontal-column-expected.txt: * css3/flexbox/multiline-align-content-horizontal-column.html: * css3/flexbox/multiline-align-content.html: * css3/flexbox/multiline-align-self-expected.txt: * css3/flexbox/multiline-align-self.html: * css3/flexbox/multiline-column-auto-expected.txt: * css3/flexbox/multiline-column-auto.html: * css3/flexbox/multiline-column-overflow-expected.html: Added. * css3/flexbox/multiline-column-overflow.html: Added. * css3/flexbox/multiline-expected.txt: * css3/flexbox/multiline-justify-content-expected.txt: * css3/flexbox/multiline-justify-content.html: * css3/flexbox/multiline-min-max-expected.txt: Added. * css3/flexbox/multiline-min-max.html: Added. * css3/flexbox/multiline-min-preferred-width-expected.txt: * css3/flexbox/multiline-min-preferred-width.html: * css3/flexbox/multiline-reverse-wrap-baseline.html: * css3/flexbox/multiline-reverse-wrap-overflow-expected.txt: * css3/flexbox/multiline-reverse-wrap-overflow.html: * css3/flexbox/multiline-shrink-to-fit-expected.html: * css3/flexbox/multiline-shrink-to-fit.html: * css3/flexbox/multiline.html: * css3/flexbox/negative-flex-rounding-assert.html: * css3/flexbox/negative-margins-assert.html: * css3/flexbox/negative-overflow-expected.txt: * css3/flexbox/negative-overflow.html: * css3/flexbox/nested-flexbox-min-size-auto-expected.txt: Added. * css3/flexbox/nested-flexbox-min-size-auto.html: Added. * css3/flexbox/nested-orthogonal-flexbox-relayout-expected.html: Added. * css3/flexbox/nested-orthogonal-flexbox-relayout.html: Added. * css3/flexbox/nested-stretch-expected.txt: * css3/flexbox/nested-stretch.html: * css3/flexbox/order-painting.html: * css3/flexbox/orthogonal-flex-directions-expected.txt: * css3/flexbox/orthogonal-flex-directions.html: * css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing-expected.txt: Added. * css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing.html: Added. * css3/flexbox/overflow-and-padding-expected.txt: Added. * css3/flexbox/overflow-and-padding.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-abspos-expected.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-abspos.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-expected.html: Added. * css3/flexbox/overflow-auto-dynamic-changes.html: Added. * css3/flexbox/overflow-auto-resizes-correctly-expected.txt: Added. * css3/flexbox/overflow-auto-resizes-correctly.html: Added. * css3/flexbox/overflow-keep-scrollpos-expected.txt: * css3/flexbox/overflow-keep-scrollpos.html: * css3/flexbox/percent-height-children-of-alignSelf-stretch-flex-item-expected.txt: Added. * css3/flexbox/percent-height-children-of-alignSelf-stretch-flex-item.html: Added. * css3/flexbox/percent-margins-expected.txt: * css3/flexbox/percent-margins.html: * css3/flexbox/percentage-height-in-abspos-expected.html: Added. * css3/flexbox/percentage-height-in-abspos.html: Added. * css3/flexbox/percentage-height-replaced-element-expected.txt: Added. * css3/flexbox/percentage-height-replaced-element.html: Added. * css3/flexbox/percentage-heights-expected.txt: * css3/flexbox/percentage-heights.html: * css3/flexbox/percentage-max-width-cross-axis-expected.txt: Added. * css3/flexbox/percentage-max-width-cross-axis.html: Added. * css3/flexbox/percentage-sizes-expected.txt: * css3/flexbox/percentage-sizes-quirks-expected.txt: * css3/flexbox/percentage-sizes-quirks.html: * css3/flexbox/percentage-sizes.html: * css3/flexbox/percentage-width-in-abspos-expected.html: Added. * css3/flexbox/percentage-width-in-abspos.html: Added. * css3/flexbox/perpendicular-writing-modes-inside-flex-item-expected.txt: * css3/flexbox/perpendicular-writing-modes-inside-flex-item.html: * css3/flexbox/position-absolute-child-expected.txt: * css3/flexbox/position-absolute-child.html: * css3/flexbox/position-absolute-children-expected.txt: * css3/flexbox/position-absolute-children.html: * css3/flexbox/preferred-widths-expected.txt: * css3/flexbox/preferred-widths-orthogonal.html: * css3/flexbox/preferred-widths.html: * css3/flexbox/relayout-align-items-expected.txt: * css3/flexbox/relayout-align-items.html: * css3/flexbox/relayout-image-load-expected.txt: * css3/flexbox/relayout-image-load.html: * css3/flexbox/relpos-with-percentage-top-expected.txt: Added. * css3/flexbox/relpos-with-percentage-top.html: Added. * css3/flexbox/relpos-with-scrollable-with-abspos-crash-expected.txt: Added. * css3/flexbox/relpos-with-scrollable-with-abspos-crash.html: Added. * css3/flexbox/resize-min-content-flexbox-expected.txt: Added. * css3/flexbox/resize-min-content-flexbox.html: Added. * css3/flexbox/resources/box-orient-button.js: Added. (setFlexDirection): (gebi): (test): * css3/flexbox/scrollbars-auto-expected.html: Added. * css3/flexbox/scrollbars-auto.html: Added. * css3/flexbox/scrollbars-expected.html: Added. * css3/flexbox/scrollbars.html: Added. * css3/flexbox/shrinking-column-flexbox-expected.txt: Added. * css3/flexbox/shrinking-column-flexbox.html: Added. * css3/flexbox/stretch-after-sibling-size-change-expected.txt: * css3/flexbox/stretch-after-sibling-size-change.html: * css3/flexbox/stretch-input-in-column-expected.html: * css3/flexbox/stretch-simplified-layout-expected.txt: * css3/flexbox/stretch-simplified-layout.html: * css3/flexbox/stretch-table-child-expected.txt: Added. * css3/flexbox/stretch-table-child.html: Added. * css3/flexbox/stretched-child-shrink-on-relayout-expected.txt: Added. * css3/flexbox/stretched-child-shrink-on-relayout.html: Added. * css3/flexbox/stretching-orthogonal-flows-expected.html: Added. * css3/flexbox/stretching-orthogonal-flows.html: Added. * css3/flexbox/style-change-expected.txt: * css3/flexbox/style-change.html: * css3/flexbox/text-overflow-on-flexbox-expected.html: Added. * css3/flexbox/text-overflow-on-flexbox.html: Added. * css3/flexbox/true-centering-expected.txt: * css3/flexbox/true-centering.html: * css3/flexbox/undefined-min-width-expected.txt: Added. * css3/flexbox/undefined-min-width.html: Added. * css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html: Added. * css3/flexbox/vertical-align-do-not-effect-flex-items.html: Added. * css3/flexbox/vertical-flexbox-percentage-ignored-expected.html: Added. * css3/flexbox/vertical-flexbox-percentage-ignored.html: Added. * css3/flexbox/whitespace-in-flexitem-expected.html: Added. * css3/flexbox/whitespace-in-flexitem.html: Added. * css3/flexbox/width-change-and-relayout-children-expected.txt: * css3/flexbox/width-change-and-relayout-children.html: * css3/flexbox/wrapping-column-dynamic-changes-expected.txt: Added. * css3/flexbox/wrapping-column-dynamic-changes.html: Added. * css3/flexbox/writing-modes-expected.txt: * css3/flexbox/writing-modes.html: * css3/flexbox/z-index.html: * resources/check-layout-th.js: Added. (checkSubtreeExpectedValues): (checkAttribute): (assert_tolerance): (checkExpectedValues): (window.checkLayout): Canonical link: https://commits.webkit.org/185959@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-28 16:23:15 +00:00
nodes = Array.prototype.slice.call(nodes);
nodes.reverse();
var checkedLayout = false;
Array.prototype.forEach.call(nodes, function(node) {
test(function(t) {
var container = node.parentNode.className == 'container' ? node.parentNode : node;
var prefix = "\n" + container.outerHTML + "\n";
var passed = false;
try {
checkedLayout |= checkExpectedValues(t, node.parentNode, prefix);
checkedLayout |= checkSubtreeExpectedValues(t, node, prefix);
passed = true;
} finally {
checkedLayout |= !passed;
}
}, selectorList + ' ' + String(++testNumber));
});
if (!checkedLayout) {
console.error("No valid data-* attributes found in selector list : " + selectorList);
}
Update testharness.js from upstream https://bugs.webkit.org/show_bug.cgi?id=201808 Reviewed by Darin Adler. LayoutTests/imported/w3c: Update existing layout tests so that they are compatible with this new version of testharness.js. * IndexedDB-private-browsing/idbdatabase_createObjectStore9-invalidparameters.html: * IndexedDB-private-browsing/idbobjectstore_deleted.html: * web-platform-tests/custom-elements/resources/custom-elements-helpers.js: (create_window_in_test): LayoutTests: Update testharness.js from upstream 6fd5e1e086ce590a4780a30d12968. Update existing layout tests so that they are compatible with this new version of testharness.js. * TestExpectations: * css-custom-properties-api/length-expected.txt: * css-custom-properties-api/length.html: * css-custom-properties-api/registerProperty.html: * css-dark-mode/older-systems/color-scheme-css-expected.txt: * css-dark-mode/older-systems/color-scheme-css.html: * css-dark-mode/older-systems/color-scheme-meta-expected.txt: * css-dark-mode/older-systems/color-scheme-meta.html: * css3/flexbox/style-change-expected.txt: * fast/css/DOMQuad-serialization.html: * fast/css/Element-style.html: * fast/css/parse-justify-self-expected.txt: * fast/css/parse-justify-self.html: * fast/events/clipboard-event-constructor-expected.txt: * fast/events/clipboard-event-constructor.html: * fast/media/mq-js-update-media-expected.txt: * fast/media/mq-js-update-media.html: * fast/mediacapturefromelement/CanvasCaptureMediaStream-offscreencanvas-expected.txt: * fast/mediastream/captureStream/canvas2d-expected.txt: * fast/mediastream/captureStream/canvas2d-heavy-drawing.html: * fast/mediastream/captureStream/canvas2d.html: * fast/shadow-dom/event-path-with-window-expected.txt: * fast/shadow-dom/event-path-with-window.html: * fast/shadow-dom/offsetParent-across-shadow-boundaries-expected.txt: * fast/shadow-dom/offsetParent-across-shadow-boundaries.html: * fast/shadow-dom/slotchange-for-slot-mutation-expected.txt: * fast/shadow-dom/slotchange-for-slot-mutation.html: * fast/shadow-dom/stylesheet-title-in-shadow-tree-expected.txt: * fast/shadow-dom/stylesheet-title-in-shadow-tree.html: * http/tests/fetch/redirectmode-and-preload-expected.txt: * http/tests/fetch/redirectmode-and-preload.html: * imported/blink/editing/selection/selectstart-event-crash-expected.txt: * js/promises-tests/promises-in-workers-expected.txt: * js/promises-tests/promises-in-workers.js: * resources/check-layout-th.js: (window.checkLayout): * resources/testharness.js: (WindowTestEnvironment): (WindowTestEnvironment.prototype._dispatch): (WindowTestEnvironment.prototype._forEach_windows): (WindowTestEnvironment.prototype.next_default_test_name): (WorkerTestEnvironment.prototype.next_default_test_name): (ServiceWorkerTestEnvironment.on_all_loaded): (ServiceWorkerTestEnvironment): (ShellTestEnvironment): (ShellTestEnvironment.prototype.next_default_test_name): (ShellTestEnvironment.prototype.on_new_harness_properties): (ShellTestEnvironment.prototype.on_tests_ready): (ShellTestEnvironment.prototype.add_on_loaded_callback): (ShellTestEnvironment.prototype.test_timeout): (create_test_environment): (is_shared_worker): (is_service_worker): (test): (promise_test): (this.wait_for): (EventWatcher): (done): * streams/readable-byte-stream-controller-expected.txt: * streams/readable-byte-stream-controller-worker-expected.txt: Added. * streams/readable-byte-stream-controller-worker.html: Copied from LayoutTests/streams/readable-byte-stream-controller.html. * streams/readable-byte-stream-controller.html: * streams/readable-stream-byob-reader-expected.txt: * streams/readable-stream-byob-reader-worker-expected.txt: Added. * streams/readable-stream-byob-reader-worker.html: Copied from LayoutTests/streams/readable-stream-byob-reader.html. * streams/readable-stream-byob-reader.html: * streams/readable-stream-byob-request-expected.txt: * streams/readable-stream-byob-request-worker-expected.txt: Copied from LayoutTests/streams/readable-stream-byob-request-expected.txt. * streams/readable-stream-byob-request-worker.html: Copied from LayoutTests/streams/readable-stream-byob-request.html. * streams/readable-stream-byob-request.html: * streams/reference-implementation/readable-stream-templated-expected.txt: * streams/reference-implementation/readable-stream-templated.html: * streams/reference-implementation/writable-stream-abort-expected.txt: * streams/reference-implementation/writable-stream-expected.txt: * webrtc/datachannel/basic-expected.txt: * webrtc/datachannel/basic.html: * webrtc/datachannel/mdns-ice-candidates-expected.txt: * webrtc/datachannel/mdns-ice-candidates.html: * webrtc/pc-detached-document-expected.txt: * webrtc/pc-detached-document.html: * webrtc/video-mute-expected.txt: * webrtc/video-mute-vp8-expected.txt: * webrtc/video-mute-vp8.html: * webrtc/video-mute.html: Canonical link: https://commits.webkit.org/215471@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-16 21:04:08 +00:00
testNumbers.set("" + selectorList, testNumber);
Update flexbox to Blink's tip of tree https://bugs.webkit.org/show_bug.cgi?id=168657 Reviewed by Zalan Bujtas. Source/WebCore: Added new tests in css3/flexbox. * CMakeLists.txt: * WebCore.xcodeproj/project.pbxproj: * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::propertyValue): * rendering/FlexibleBoxAlgorithm.cpp: Added. (WebCore::FlexItem::FlexItem): (WebCore::FlexLayoutAlgorithm::FlexLayoutAlgorithm): (WebCore::FlexLayoutAlgorithm::computeNextFlexLine): * rendering/FlexibleBoxAlgorithm.h: Added. (WebCore::FlexItem::hypotheticalMainAxisMarginBoxSize): (WebCore::FlexItem::flexBaseMarginBoxSize): (WebCore::FlexItem::flexedMarginBoxSize): (WebCore::FlexLayoutAlgorithm::isMultiline): * rendering/GridTrackSizingAlgorithm.cpp: (WebCore::GridTrackSizingAlgorithm::computeTrackBasedSize): (WebCore::GridTrackSizingAlgorithm::increaseSizesToAccommodateSpanningItems): (WebCore::GridTrackSizingAlgorithm::assumedRowsSizeForOrthogonalChild): (WebCore::GridTrackSizingAlgorithm::gridAreaBreadthForChild): (WebCore::IndefiniteSizeStrategy::recomputeUsedFlexFractionIfNeeded): * rendering/GridTrackSizingAlgorithm.h: * rendering/OrderIterator.cpp: (WebCore::OrderIterator::next): (WebCore::OrderIterator::reset): (WebCore::OrderIteratorPopulator::~OrderIteratorPopulator): (WebCore::OrderIteratorPopulator::collectChild): (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): Deleted. (WebCore::OrderIteratorPopulator::removeDuplicatedOrderValues): Deleted. * rendering/OrderIterator.h: (WebCore::OrderIteratorPopulator::OrderIteratorPopulator): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::updateBlockChildDirtyBitsBeforeLayout): (WebCore::RenderBlock::layoutPositionedObject): (WebCore::RenderBlock::computeBlockPreferredLogicalWidths): (WebCore::RenderBlock::computeChildPreferredLogicalWidths): (WebCore::RenderBlock::hasDefiniteLogicalHeight): (WebCore::RenderBlock::availableLogicalHeightForPercentageComputation): * rendering/RenderBlock.h: (WebCore::RenderBlock::hasPercentHeightDescendants): * rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths): * rendering/RenderBox.cpp: (WebCore::RenderBox::columnFlexItemHasStretchAlignment): (WebCore::RenderBox::isStretchingColumnFlexItem): (WebCore::RenderBox::hasStretchedLogicalWidth): (WebCore::RenderBox::sizesLogicalWidthToFitContent): (WebCore::RenderBox::computeInlineDirectionMargins): (WebCore::RenderBox::cacheIntrinsicContentLogicalHeightForFlexItem): (WebCore::RenderBox::updateLogicalHeight): (WebCore::RenderBox::computeLogicalHeightWithoutLayout): (WebCore::RenderBox::skipContainingBlockForPercentHeightCalculation): (WebCore::RenderBox::shouldTreatChildAsReplacedInTableCells): (WebCore::tableCellShouldHaveZeroInitialSize): (WebCore::RenderBox::computePercentageLogicalHeight): (WebCore::RenderBox::computeReplacedLogicalHeightUsing): (WebCore::RenderBox::availableLogicalHeightUsing): (WebCore::RenderBox::percentageLogicalHeightIsResolvable): (WebCore::RenderBox::hasUnsplittableScrollingOverflow): (WebCore::flexItemHasStretchAlignment): Deleted. (WebCore::isStretchingColumnFlexItem): Deleted. (WebCore::logicalWidthIsResolvable): Deleted. (WebCore::RenderBox::hasDefiniteLogicalWidth): Deleted. (WebCore::percentageLogicalHeightIsResolvable): Deleted. (WebCore::RenderBox::percentageLogicalHeightIsResolvableFromBlock): Deleted. (WebCore::RenderBox::hasDefiniteLogicalHeight): Deleted. * rendering/RenderBox.h: (WebCore::RenderBox::isGridItem): (WebCore::RenderBox::isFlexItem): (WebCore::RenderBox::selfAlignmentNormalBehavior): * rendering/RenderBoxModelObject.cpp: (WebCore::isOutOfFlowPositionedWithImplicitHeight): (WebCore::RenderBoxModelObject::containingBlockForAutoHeightDetection): (WebCore::RenderBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight): * rendering/RenderBoxModelObject.h: * rendering/RenderElement.cpp: (WebCore::RenderElement::removeChildInternal): * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::LineContext::LineContext): (WebCore::RenderFlexibleBox::RenderFlexibleBox): (WebCore::RenderFlexibleBox::computeIntrinsicLogicalWidths): (WebCore::contentAlignmentNormalBehavior): (WebCore::RenderFlexibleBox::styleDidChange): (WebCore::RenderFlexibleBox::layoutBlock): (WebCore::RenderFlexibleBox::repositionLogicalHeightDependentFlexItems): (WebCore::RenderFlexibleBox::clientLogicalBottomAfterRepositioning): (WebCore::RenderFlexibleBox::hasOrthogonalFlow): (WebCore::RenderFlexibleBox::flexBasisForChild): (WebCore::RenderFlexibleBox::crossAxisExtentForChild): (WebCore::RenderFlexibleBox::cachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::setCachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::clearCachedChildIntrinsicContentLogicalHeight): (WebCore::RenderFlexibleBox::childIntrinsicLogicalHeight): (WebCore::RenderFlexibleBox::childIntrinsicLogicalWidth): (WebCore::RenderFlexibleBox::crossAxisIntrinsicExtentForChild): (WebCore::RenderFlexibleBox::mainAxisExtentForChild): (WebCore::RenderFlexibleBox::mainAxisContentExtentForChildIncludingScrollbar): (WebCore::RenderFlexibleBox::crossAxisExtent): (WebCore::RenderFlexibleBox::mainAxisExtent): (WebCore::RenderFlexibleBox::mainAxisContentExtent): (WebCore::RenderFlexibleBox::computeMainAxisExtentForChild): (WebCore::RenderFlexibleBox::transformedWritingMode): (WebCore::RenderFlexibleBox::flowAwareMarginStartForChild): (WebCore::RenderFlexibleBox::flowAwareMarginEndForChild): (WebCore::RenderFlexibleBox::flowAwareMarginBeforeForChild): (WebCore::RenderFlexibleBox::crossAxisMarginExtentForChild): (WebCore::RenderFlexibleBox::flowAwareLocationForChild): (WebCore::RenderFlexibleBox::useChildAspectRatio): (WebCore::RenderFlexibleBox::computeMainSizeFromAspectRatioUsing): (WebCore::RenderFlexibleBox::setFlowAwareLocationForChild): (WebCore::RenderFlexibleBox::mainAxisLengthIsDefinite): (WebCore::RenderFlexibleBox::crossAxisLengthIsDefinite): (WebCore::RenderFlexibleBox::cacheChildMainSize): (WebCore::RenderFlexibleBox::clearCachedMainSizeForChild): (WebCore::RenderFlexibleBox::computeInnerFlexBaseSizeForChild): (WebCore::RenderFlexibleBox::layoutFlexItems): (WebCore::RenderFlexibleBox::autoMarginOffsetInMainAxis): (WebCore::RenderFlexibleBox::updateAutoMarginsInMainAxis): (WebCore::RenderFlexibleBox::hasAutoMarginsInCrossAxis): (WebCore::RenderFlexibleBox::availableAlignmentSpaceForChild): (WebCore::RenderFlexibleBox::updateAutoMarginsInCrossAxis): (WebCore::RenderFlexibleBox::marginBoxAscentForChild): (WebCore::RenderFlexibleBox::computeChildMarginValue): (WebCore::RenderFlexibleBox::adjustChildSizeForMinAndMax): (WebCore::RenderFlexibleBox::crossSizeForPercentageResolution): (WebCore::RenderFlexibleBox::mainSizeForPercentageResolution): (WebCore::RenderFlexibleBox::childLogicalHeightForPercentageResolution): (WebCore::RenderFlexibleBox::adjustChildSizeForAspectRatioCrossAxisMinAndMax): (WebCore::RenderFlexibleBox::constructFlexItem): (WebCore::RenderFlexibleBox::freezeViolations): (WebCore::RenderFlexibleBox::freezeInflexibleItems): (WebCore::RenderFlexibleBox::resolveFlexibleLengths): (WebCore::alignmentOffset): (WebCore::RenderFlexibleBox::setOverrideMainAxisContentSizeForChild): (WebCore::RenderFlexibleBox::staticMainAxisPositionForPositionedChild): (WebCore::RenderFlexibleBox::staticCrossAxisPositionForPositionedChild): (WebCore::RenderFlexibleBox::staticInlinePositionForPositionedChild): (WebCore::RenderFlexibleBox::staticBlockPositionForPositionedChild): (WebCore::RenderFlexibleBox::setStaticPositionForPositionedLayout): (WebCore::RenderFlexibleBox::prepareChildForPositionedLayout): (WebCore::RenderFlexibleBox::alignmentForChild): (WebCore::RenderFlexibleBox::resetAutoMarginsAndLogicalTopInCrossAxis): (WebCore::RenderFlexibleBox::needToStretchChildLogicalHeight): (WebCore::RenderFlexibleBox::childHasIntrinsicMainAxisSize): (WebCore::RenderFlexibleBox::crossAxisOverflowForChild): (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): (WebCore::RenderFlexibleBox::layoutColumnReverse): (WebCore::initialAlignContentOffset): (WebCore::alignContentSpaceBetweenChildren): (WebCore::RenderFlexibleBox::alignFlexLines): (WebCore::RenderFlexibleBox::adjustAlignmentForChild): (WebCore::RenderFlexibleBox::alignChildren): (WebCore::RenderFlexibleBox::applyStretchAlignmentToChild): (WebCore::RenderFlexibleBox::flipForRightToLeftColumn): (WebCore::RenderFlexibleBox::flipForWrapReverse): (WebCore::RenderFlexibleBox::Violation::Violation): Deleted. (WebCore::RenderFlexibleBox::setCrossAxisExtent): Deleted. (WebCore::RenderFlexibleBox::flowAwareMarginAfterForChild): Deleted. (WebCore::RenderFlexibleBox::mainAxisBorderAndPaddingExtentForChild): Deleted. (WebCore::RenderFlexibleBox::mainAxisScrollbarExtentForChild): Deleted. (WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild): Deleted. (WebCore::RenderFlexibleBox::computeNextFlexLine): Deleted. (WebCore::RenderFlexibleBox::setLogicalOverrideSize): Deleted. (WebCore::RenderFlexibleBox::numberOfInFlowPositionedChildren): Deleted. (WebCore::RenderFlexibleBox::needToStretchChild): Deleted. (WebCore::contentAlignmentNormalBehaviorFlexibleBox): Deleted. * rendering/RenderFlexibleBox.h: (WebCore::RenderFlexibleBox::orderIterator): (WebCore::RenderFlexibleBox::isFlexibleBoxImpl): * rendering/RenderFullScreen.h: * rendering/RenderGrid.cpp: (WebCore::selfAlignmentChangedToStretchInRowAxis): (WebCore::selfAlignmentChangedFromStretchInRowAxis): (WebCore::selfAlignmentChangedFromStretchInColumnAxis): (WebCore::RenderGrid::styleDidChange): (WebCore::RenderGrid::computeTrackBasedLogicalHeight): (WebCore::RenderGrid::computeTrackSizesForDefiniteSize): (WebCore::RenderGrid::gridGapForDirection): (WebCore::RenderGrid::guttersSize): (WebCore::RenderGrid::computeTrackSizesForIndefiniteSize): (WebCore::RenderGrid::computeAutoRepeatTracksCount): (WebCore::RenderGrid::trackSizesForComputedStyle): (WebCore::RenderGrid::offsetAndBreadthForPositionedChild): (WebCore::RenderGrid::populateGridPositionsForDirection): (WebCore::RenderGrid::alignSelfForChild): (WebCore::RenderGrid::justifySelfForChild): (WebCore::RenderGrid::columnAxisPositionForChild): (WebCore::RenderGrid::rowAxisPositionForChild): (WebCore::RenderGrid::columnAxisOffsetForChild): (WebCore::RenderGrid::rowAxisOffsetForChild): (WebCore::RenderGrid::needToStretchChildLogicalHeight): Deleted. * rendering/RenderGrid.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateScrollbarsAfterLayout): * rendering/RenderListBox.cpp: (WebCore::RenderListBox::computeLogicalHeight): * rendering/RenderTable.cpp: (WebCore::RenderTable::layout): * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::layout): * rendering/RenderTableSection.cpp: (WebCore::shouldFlexCellChild): (WebCore::RenderTableSection::relayoutCellIfFlexed): (WebCore::RenderTableSection::layoutRows): * rendering/RenderTableSection.h: * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::computeLogicalHeight): * rendering/style/RenderStyle.cpp: (WebCore::resolvedSelfAlignment): (WebCore::RenderStyle::resolvedAlignSelf): (WebCore::RenderStyle::resolvedJustifySelf): * rendering/style/RenderStyle.h: * style/RenderTreeUpdater.cpp: (WebCore::textRendererIsNeeded): LayoutTests: * css3/flexbox/align-absolute-child-expected.txt: * css3/flexbox/align-absolute-child.html: * css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line-expected.txt: Added. * css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line.html: Added. * css3/flexbox/anonymous-block-merge-crash.html: * css3/flexbox/assert-generated-new-flexbox-expected.txt: Added. * css3/flexbox/assert-generated-new-flexbox.html: Added. * css3/flexbox/auto-height-dynamic-expected.txt: * css3/flexbox/auto-height-dynamic.html: * css3/flexbox/auto-height-with-flex-expected.html: Added. * css3/flexbox/auto-height-with-flex.html: Added. * css3/flexbox/auto-margins-expected.html: Removed. * css3/flexbox/auto-margins.html: Removed. * css3/flexbox/border-and-padding-abspos-expected.txt: Added. * css3/flexbox/border-and-padding-abspos.html: Added. * css3/flexbox/box-orient-button-expected.txt: Added. * css3/flexbox/box-orient-button.html: Added. * css3/flexbox/box-sizing-expected.txt: * css3/flexbox/box-sizing-min-max-sizes-expected.txt: * css3/flexbox/box-sizing-min-max-sizes.html: * css3/flexbox/box-sizing.html: * css3/flexbox/bug527039-expected.txt: Added. * css3/flexbox/bug527039.html: Added. * css3/flexbox/bug580586-expected.txt: Added. * css3/flexbox/bug580586.html: Added. * css3/flexbox/bug604346-expected.html: Added. * css3/flexbox/bug604346.html: Added. * css3/flexbox/bug605682-expected.txt: Added. * css3/flexbox/bug605682.html: Added. * css3/flexbox/bug633212-expected.txt: Added. * css3/flexbox/bug633212.html: Added. * css3/flexbox/bug646288-expected.txt: Added. * css3/flexbox/bug646288.html: Added. * css3/flexbox/bug669714-expected.txt: Added. * css3/flexbox/bug669714.html: Added. * css3/flexbox/canvas-dynamic-change-expected.txt: Added. * css3/flexbox/canvas-dynamic-change.html: Added. * css3/flexbox/change-flexitem-into-abspos-expected.txt: Added. * css3/flexbox/change-flexitem-into-abspos.html: Added. * css3/flexbox/child-overflow-expected.html: * css3/flexbox/child-overflow.html: * css3/flexbox/column-flex-child-with-overflow-scroll-expected.txt: Added. * css3/flexbox/column-flex-child-with-overflow-scroll.html: Added. * css3/flexbox/columns-auto-size.html: * css3/flexbox/columns-center-with-margins-and-wrap-expected.html: Added. * css3/flexbox/columns-center-with-margins-and-wrap.html: Added. * css3/flexbox/columns-center-with-margins-expected.html: Added. * css3/flexbox/columns-center-with-margins.html: Added. * css3/flexbox/columns-height-set-via-top-bottom-expected.txt: * css3/flexbox/columns-height-set-via-top-bottom.html: * css3/flexbox/content-height-with-scrollbars.html: * css3/flexbox/cross-axis-scrollbar-expected.html: * css3/flexbox/cross-axis-scrollbar.html: * css3/flexbox/css-properties-expected.txt: * css3/flexbox/css-properties.html: * css3/flexbox/csswg/flex-margin-no-collapse.html: * css3/flexbox/definite-cross-sizes-expected.txt: Added. * css3/flexbox/definite-cross-sizes.html: Added. * css3/flexbox/definite-main-size-expected.txt: Added. * css3/flexbox/definite-main-size.html: Added. * css3/flexbox/display-flexbox-set-get-expected.txt: * css3/flexbox/display-flexbox-set-get.html: * css3/flexbox/flex-algorithm-expected.txt: * css3/flexbox/flex-algorithm-min-max-expected.txt: * css3/flexbox/flex-algorithm-min-max.html: * css3/flexbox/flex-algorithm-with-margins-expected.txt: * css3/flexbox/flex-algorithm-with-margins.html: * css3/flexbox/flex-algorithm.html: * css3/flexbox/flex-align-baseline-expected.txt: * css3/flexbox/flex-align-baseline.html: * css3/flexbox/flex-align-column-expected.txt: * css3/flexbox/flex-align-column.html: * css3/flexbox/flex-align-end-expected.txt: * css3/flexbox/flex-align-end.html: * css3/flexbox/flex-align-max-expected.txt: * css3/flexbox/flex-align-max.html: * css3/flexbox/flex-align-percent-height-expected.txt: * css3/flexbox/flex-align-percent-height.html: * css3/flexbox/flex-align-stretch-expected.txt: * css3/flexbox/flex-align-stretch.html: * css3/flexbox/flex-align-vertical-writing-mode.html: * css3/flexbox/flex-align.html: * css3/flexbox/flex-column-relayout-assert-expected.txt: Added. * css3/flexbox/flex-column-relayout-assert.html: Added. * css3/flexbox/flex-factor-less-than-one-expected.txt: Added. * css3/flexbox/flex-factor-less-than-one.html: Added. * css3/flexbox/flex-flow-2-expected.txt: * css3/flexbox/flex-flow-2.html: * css3/flexbox/flex-flow-auto-margins-expected.txt: * css3/flexbox/flex-flow-auto-margins-no-available-space-assert-expected.txt: Added. * css3/flexbox/flex-flow-auto-margins-no-available-space-assert.html: Added. * css3/flexbox/flex-flow-auto-margins-no-available-space-expected.txt: * css3/flexbox/flex-flow-auto-margins-no-available-space.html: * css3/flexbox/flex-flow-auto-margins.html: * css3/flexbox/flex-flow-border-expected.txt: * css3/flexbox/flex-flow-border.html: * css3/flexbox/flex-flow-expected.txt: * css3/flexbox/flex-flow-initial-expected.txt: * css3/flexbox/flex-flow-initial.html: * css3/flexbox/flex-flow-margins-auto-size-expected.txt: * css3/flexbox/flex-flow-margins-auto-size.html: * css3/flexbox/flex-flow-margins-expected.txt: * css3/flexbox/flex-flow-margins.html: * css3/flexbox/flex-flow-orientations-expected.txt: * css3/flexbox/flex-flow-orientations.html: * css3/flexbox/flex-flow-overflow-expected.txt: * css3/flexbox/flex-flow-overflow.html: * css3/flexbox/flex-flow-padding-expected.txt: * css3/flexbox/flex-flow-padding.html: * css3/flexbox/flex-flow.html: * css3/flexbox/flex-item-child-overflow-expected.txt: * css3/flexbox/flex-item-child-overflow.html: * css3/flexbox/flex-item-contains-strict-expected.txt: Added. * css3/flexbox/flex-item-contains-strict.html: Added. * css3/flexbox/flex-item-firstLine-valid-expected.txt: * css3/flexbox/flex-item-firstLine-valid.html: * css3/flexbox/flex-justify-content-expected.txt: * css3/flexbox/flex-justify-content.html: * css3/flexbox/flex-longhand-parsing-expected.txt: * css3/flexbox/flex-longhand-parsing.html: * css3/flexbox/flex-no-flex-expected.txt: * css3/flexbox/flex-no-flex.html: * css3/flexbox/flex-one-sets-flex-basis-to-zero-px-expected.txt: Added. * css3/flexbox/flex-one-sets-flex-basis-to-zero-px.html: Added. * css3/flexbox/flex-order-expected.html: Added. * css3/flexbox/flex-order-expected.png: Removed. * css3/flexbox/flex-order-expected.txt: Removed. * css3/flexbox/flex-order.html: * css3/flexbox/flex-property-parsing-expected.txt: * css3/flexbox/flex-property-parsing.html: * css3/flexbox/flex-shorthand-flex-basis-middle-expected.txt: Added. * css3/flexbox/flex-shorthand-flex-basis-middle.html: Added. * css3/flexbox/flexbox-baseline.html: * css3/flexbox/flexbox-height-with-overflow-auto-expected.txt: Added. * css3/flexbox/flexbox-height-with-overflow-auto.html: Added. * css3/flexbox/flexbox-ignore-container-firstLetter-expected.txt: * css3/flexbox/flexbox-ignore-container-firstLetter.html: * css3/flexbox/flexbox-ignore-firstLetter-expected.txt: * css3/flexbox/flexbox-ignore-firstLetter.html: * css3/flexbox/flexbox-ignore-firstLine-expected.txt: * css3/flexbox/flexbox-ignore-firstLine.html: * css3/flexbox/flexbox-lines-must-be-stretched-by-default-expected.txt: * css3/flexbox/flexbox-lines-must-be-stretched-by-default.html: * css3/flexbox/flexbox-overflow-auto-expected.html: * css3/flexbox/flexbox-overflow-auto.html: * css3/flexbox/flexbox-with-multi-column-property-expected.html: Added. * css3/flexbox/flexbox-with-multi-column-property.html: Added. * css3/flexbox/flexbox-wordwrap-expected.txt: Added. * css3/flexbox/flexbox-wordwrap.html: Added. * css3/flexbox/flexitem-expected.txt: * css3/flexbox/flexitem-no-margin-collapsing-expected.txt: * css3/flexbox/flexitem-no-margin-collapsing.html: * css3/flexbox/flexitem-percent-height-change-expected.txt: * css3/flexbox/flexitem-percent-height-change.html: * css3/flexbox/flexitem-stretch-image-expected.txt: * css3/flexbox/flexitem-stretch-image.html: * css3/flexbox/flexitem-stretch-range.html: * css3/flexbox/flexitem.html: * css3/flexbox/floated-flexbox-expected.txt: * css3/flexbox/floated-flexbox.html: * css3/flexbox/floated-flexitem.html: * css3/flexbox/inline-flex-crash.html: * css3/flexbox/inline-flex-crash2.html: * css3/flexbox/inline-flex-expected.txt: * css3/flexbox/inline-flex.html: * css3/flexbox/inline-flexbox-ignore-firstLine-expected.txt: * css3/flexbox/inline-flexbox-ignore-firstLine.html: * css3/flexbox/inline-flexbox-wrap-vertically-width-calculation-expected.txt: Added. * css3/flexbox/inline-flexbox-wrap-vertically-width-calculation.html: Added. * css3/flexbox/insert-text-crash.html: * css3/flexbox/intrinsic-min-width-applies-with-fixed-width-expected.txt: * css3/flexbox/intrinsic-min-width-applies-with-fixed-width.html: * css3/flexbox/intrinsic-width-orthogonal-writing-mode-expected.txt: Added. * css3/flexbox/intrinsic-width-orthogonal-writing-mode.html: Added. * css3/flexbox/large-flex-shrink-assert-expected.txt: Added. * css3/flexbox/large-flex-shrink-assert.html: Added. * css3/flexbox/line-wrapping.html: * css3/flexbox/mainAxisExtent-crash-expected.txt: Added. * css3/flexbox/mainAxisExtent-crash.html: Added. * css3/flexbox/max-width-violation-expected.txt: Added. * css3/flexbox/max-width-violation.html: Added. * css3/flexbox/min-size-auto-expected.txt: * css3/flexbox/min-size-auto.html: * css3/flexbox/minimum-size-image-expected.txt: Added. * css3/flexbox/minimum-size-image.html: Added. * css3/flexbox/multiline-align-content-expected.txt: * css3/flexbox/multiline-align-content-horizontal-column-expected.txt: * css3/flexbox/multiline-align-content-horizontal-column.html: * css3/flexbox/multiline-align-content.html: * css3/flexbox/multiline-align-self-expected.txt: * css3/flexbox/multiline-align-self.html: * css3/flexbox/multiline-column-auto-expected.txt: * css3/flexbox/multiline-column-auto.html: * css3/flexbox/multiline-column-overflow-expected.html: Added. * css3/flexbox/multiline-column-overflow.html: Added. * css3/flexbox/multiline-expected.txt: * css3/flexbox/multiline-justify-content-expected.txt: * css3/flexbox/multiline-justify-content.html: * css3/flexbox/multiline-min-max-expected.txt: Added. * css3/flexbox/multiline-min-max.html: Added. * css3/flexbox/multiline-min-preferred-width-expected.txt: * css3/flexbox/multiline-min-preferred-width.html: * css3/flexbox/multiline-reverse-wrap-baseline.html: * css3/flexbox/multiline-reverse-wrap-overflow-expected.txt: * css3/flexbox/multiline-reverse-wrap-overflow.html: * css3/flexbox/multiline-shrink-to-fit-expected.html: * css3/flexbox/multiline-shrink-to-fit.html: * css3/flexbox/multiline.html: * css3/flexbox/negative-flex-rounding-assert.html: * css3/flexbox/negative-margins-assert.html: * css3/flexbox/negative-overflow-expected.txt: * css3/flexbox/negative-overflow.html: * css3/flexbox/nested-flexbox-min-size-auto-expected.txt: Added. * css3/flexbox/nested-flexbox-min-size-auto.html: Added. * css3/flexbox/nested-orthogonal-flexbox-relayout-expected.html: Added. * css3/flexbox/nested-orthogonal-flexbox-relayout.html: Added. * css3/flexbox/nested-stretch-expected.txt: * css3/flexbox/nested-stretch.html: * css3/flexbox/order-painting.html: * css3/flexbox/orthogonal-flex-directions-expected.txt: * css3/flexbox/orthogonal-flex-directions.html: * css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing-expected.txt: Added. * css3/flexbox/orthogonal-writing-modes-and-intrinsic-sizing.html: Added. * css3/flexbox/overflow-and-padding-expected.txt: Added. * css3/flexbox/overflow-and-padding.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-abspos-expected.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-abspos.html: Added. * css3/flexbox/overflow-auto-dynamic-changes-expected.html: Added. * css3/flexbox/overflow-auto-dynamic-changes.html: Added. * css3/flexbox/overflow-auto-resizes-correctly-expected.txt: Added. * css3/flexbox/overflow-auto-resizes-correctly.html: Added. * css3/flexbox/overflow-keep-scrollpos-expected.txt: * css3/flexbox/overflow-keep-scrollpos.html: * css3/flexbox/percent-height-children-of-alignSelf-stretch-flex-item-expected.txt: Added. * css3/flexbox/percent-height-children-of-alignSelf-stretch-flex-item.html: Added. * css3/flexbox/percent-margins-expected.txt: * css3/flexbox/percent-margins.html: * css3/flexbox/percentage-height-in-abspos-expected.html: Added. * css3/flexbox/percentage-height-in-abspos.html: Added. * css3/flexbox/percentage-height-replaced-element-expected.txt: Added. * css3/flexbox/percentage-height-replaced-element.html: Added. * css3/flexbox/percentage-heights-expected.txt: * css3/flexbox/percentage-heights.html: * css3/flexbox/percentage-max-width-cross-axis-expected.txt: Added. * css3/flexbox/percentage-max-width-cross-axis.html: Added. * css3/flexbox/percentage-sizes-expected.txt: * css3/flexbox/percentage-sizes-quirks-expected.txt: * css3/flexbox/percentage-sizes-quirks.html: * css3/flexbox/percentage-sizes.html: * css3/flexbox/percentage-width-in-abspos-expected.html: Added. * css3/flexbox/percentage-width-in-abspos.html: Added. * css3/flexbox/perpendicular-writing-modes-inside-flex-item-expected.txt: * css3/flexbox/perpendicular-writing-modes-inside-flex-item.html: * css3/flexbox/position-absolute-child-expected.txt: * css3/flexbox/position-absolute-child.html: * css3/flexbox/position-absolute-children-expected.txt: * css3/flexbox/position-absolute-children.html: * css3/flexbox/preferred-widths-expected.txt: * css3/flexbox/preferred-widths-orthogonal.html: * css3/flexbox/preferred-widths.html: * css3/flexbox/relayout-align-items-expected.txt: * css3/flexbox/relayout-align-items.html: * css3/flexbox/relayout-image-load-expected.txt: * css3/flexbox/relayout-image-load.html: * css3/flexbox/relpos-with-percentage-top-expected.txt: Added. * css3/flexbox/relpos-with-percentage-top.html: Added. * css3/flexbox/relpos-with-scrollable-with-abspos-crash-expected.txt: Added. * css3/flexbox/relpos-with-scrollable-with-abspos-crash.html: Added. * css3/flexbox/resize-min-content-flexbox-expected.txt: Added. * css3/flexbox/resize-min-content-flexbox.html: Added. * css3/flexbox/resources/box-orient-button.js: Added. (setFlexDirection): (gebi): (test): * css3/flexbox/scrollbars-auto-expected.html: Added. * css3/flexbox/scrollbars-auto.html: Added. * css3/flexbox/scrollbars-expected.html: Added. * css3/flexbox/scrollbars.html: Added. * css3/flexbox/shrinking-column-flexbox-expected.txt: Added. * css3/flexbox/shrinking-column-flexbox.html: Added. * css3/flexbox/stretch-after-sibling-size-change-expected.txt: * css3/flexbox/stretch-after-sibling-size-change.html: * css3/flexbox/stretch-input-in-column-expected.html: * css3/flexbox/stretch-simplified-layout-expected.txt: * css3/flexbox/stretch-simplified-layout.html: * css3/flexbox/stretch-table-child-expected.txt: Added. * css3/flexbox/stretch-table-child.html: Added. * css3/flexbox/stretched-child-shrink-on-relayout-expected.txt: Added. * css3/flexbox/stretched-child-shrink-on-relayout.html: Added. * css3/flexbox/stretching-orthogonal-flows-expected.html: Added. * css3/flexbox/stretching-orthogonal-flows.html: Added. * css3/flexbox/style-change-expected.txt: * css3/flexbox/style-change.html: * css3/flexbox/text-overflow-on-flexbox-expected.html: Added. * css3/flexbox/text-overflow-on-flexbox.html: Added. * css3/flexbox/true-centering-expected.txt: * css3/flexbox/true-centering.html: * css3/flexbox/undefined-min-width-expected.txt: Added. * css3/flexbox/undefined-min-width.html: Added. * css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html: Added. * css3/flexbox/vertical-align-do-not-effect-flex-items.html: Added. * css3/flexbox/vertical-flexbox-percentage-ignored-expected.html: Added. * css3/flexbox/vertical-flexbox-percentage-ignored.html: Added. * css3/flexbox/whitespace-in-flexitem-expected.html: Added. * css3/flexbox/whitespace-in-flexitem.html: Added. * css3/flexbox/width-change-and-relayout-children-expected.txt: * css3/flexbox/width-change-and-relayout-children.html: * css3/flexbox/wrapping-column-dynamic-changes-expected.txt: Added. * css3/flexbox/wrapping-column-dynamic-changes.html: Added. * css3/flexbox/writing-modes-expected.txt: * css3/flexbox/writing-modes.html: * css3/flexbox/z-index.html: * resources/check-layout-th.js: Added. (checkSubtreeExpectedValues): (checkAttribute): (assert_tolerance): (checkExpectedValues): (window.checkLayout): Canonical link: https://commits.webkit.org/185959@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-28 16:23:15 +00:00
done();
};
})();