[CSS Shapes] Remove shape-inside support
https://bugs.webkit.org/show_bug.cgi?id=130698

Reviewed by David Hyatt.

.:

* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

CSS Shapes Level 1 (CR) only contains shape-outside. We are focusing our efforts on finalizing
the implementation of shape-outside, it's worth to remove shape-inside code at this point for now.

A list of reasons for the removal:
  - Shape-inside is only part of Shapes Level 2, which needs to be improved on some topics.
  - Shape-inside is lack of new shapes support (e.g. inset).
  - Deprecated shapes (r165472) are removed from the code (e.g. rectangle), which affects shape-inside.
  - The current shape-inside code spreads across the layout code.
  - The current shape-inside implementation is experimental in some areas,
    and the partially implemented code can have security implications.
  - Removal of shape-inside opens possibilities for code complexity and performance
    optimizations for shape-outside. (e.g. simpler geometry code)

No new tests are needed.

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* GNUmakefile.list.am:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue):
* css/CSSParser.cpp:
(WebCore::isSimpleLengthPropertyID):
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseShapeProperty):
* css/CSSPropertyNames.in:
* css/DeprecatedStyleBuilder.cpp:
(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::applyProperty):
(WebCore::StyleResolver::loadPendingImages):
* page/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
* rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState):
* rendering/LayoutState.h:
(WebCore::LayoutState::LayoutState):
(WebCore::LayoutState::shapeInsideInfo): Deleted.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::styleDidChange):
(WebCore::RenderBlock::imageChanged):
(WebCore::RenderBlock::preparePaginationBeforeBlockLayout):
(WebCore::RenderBlock::relayoutShapeDescendantIfMoved): Deleted.
(WebCore::RenderBlock::logicalOffsetFromShapeAncestorContainer): Deleted.
(WebCore::RenderBlock::updateShapeInsideInfoAfterStyleChange): Deleted.
(WebCore::RenderBlock::ensureShapeInsideInfo): Deleted.
(WebCore::RenderBlock::shapeInsideInfo): Deleted.
(WebCore::RenderBlock::setShapeInsideInfo): Deleted.
(WebCore::RenderBlock::markShapeInsideDescendantsForLayout): Deleted.
(WebCore::RenderBlock::layoutShapeInsideInfo): Deleted.
(WebCore::shapeInfoRequiresRelayout): Deleted.
(WebCore::RenderBlock::computeShapeSize): Deleted.
(WebCore::RenderBlock::updateShapesBeforeBlockLayout): Deleted.
(WebCore::RenderBlock::updateShapesAfterBlockLayout): Deleted.
(WebCore::RenderBlock::prepareShapesAndPaginationBeforeBlockLayout): Deleted.
* rendering/RenderBlock.h:
(WebCore::RenderBlock::allowsShapeInsideInfoSharing): Deleted.
* rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutBlock):
(WebCore::RenderBlockFlow::layoutBlockChild):
(WebCore::RenderBlockFlow::computeLogicalLocationForFloat):
* rendering/RenderBlockFlow.h:
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlockFlow::computeInlineDirectionPositionsForLine):
(WebCore::RenderBlockFlow::layoutRunsAndFloatsInRange):
(WebCore::constructBidiRunsForLine): Deleted.
(WebCore::pushShapeContentOverflowBelowTheContentBox): Deleted.
(WebCore::RenderBlockFlow::updateShapeAndSegmentsForCurrentLine): Deleted.
(WebCore::RenderBlockFlow::updateShapeAndSegmentsForCurrentLineInFlowThread): Deleted.
(WebCore::adjustLogicalLineTop): Deleted.
(WebCore::RenderBlockFlow::adjustLogicalLineTopAndLogicalHeightIfNeeded): Deleted.
* rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
* rendering/RenderElement.cpp:
(WebCore::RenderElement::~RenderElement):
(WebCore::RenderElement::initializeStyle):
(WebCore::RenderElement::setStyle):
* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock):
* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::layoutBlock):
* rendering/RenderNamedFlowFragment.cpp:
(WebCore::RenderNamedFlowFragment::createStyle):
* rendering/RenderView.h:
* rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::canUseFor):
* rendering/line/BreakingContextInlineHeaders.h:
(WebCore::BreakingContext::handleText):
(WebCore::BreakingContext::handleEndOfLine):
(WebCore::updateSegmentsForShapes): Deleted.
* rendering/line/LineBreaker.cpp:
(WebCore::LineBreaker::nextLineBreak):
* rendering/line/LineWidth.cpp:
(WebCore::LineWidth::LineWidth):
(WebCore::LineWidth::updateAvailableWidth):
(WebCore::LineWidth::wrapNextToShapeOutside):
(WebCore::LineWidth::fitBelowFloats):
(WebCore::LineWidth::updateLineSegment): Deleted.
(WebCore::LineWidth::updateCurrentShapeSegment): Deleted.
* rendering/line/LineWidth.h:
* rendering/shapes/ShapeInsideInfo.cpp: Removed.
* rendering/shapes/ShapeInsideInfo.h: Removed.
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::changeRequiresLayout):
* rendering/style/RenderStyle.h:
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
* rendering/style/StyleRareNonInheritedData.h:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Tools:

* Scripts/webkitperl/FeatureList.pm:

LayoutTests:

* fast/regions/shape-inside/shape-inside-on-additional-regions-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-additional-regions.html: Removed.
* fast/regions/shape-inside/shape-inside-on-first-region-block-content-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-first-region-block-content.html: Removed.
* fast/regions/shape-inside/shape-inside-on-first-region-inline-content-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-first-region-inline-content.html: Removed.
* fast/regions/shape-inside/shape-inside-on-multiple-autoheight-regions-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-multiple-autoheight-regions.html: Removed.
* fast/regions/shape-inside/shape-inside-on-multiple-regions-bottom-adjustment-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-multiple-regions-bottom-adjustment.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-block-content-polygon-with-adjustment-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-block-content-polygon-with-adjustment.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content-basic-overflow-shape-top-offset-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content-basic-overflow-shape-top-offset.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-multiple-shapes-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-multiple-shapes.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content-polygon-with-adjustment-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content-polygon-with-adjustment.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions-inline-content.html: Removed.
* fast/regions/shape-inside/shape-inside-on-regions.html: Removed.
* fast/regions/shape-inside/shape-inside-on-second-region-block-content-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-second-region-block-content.html: Removed.
* fast/regions/shape-inside/shape-inside-on-second-region-inline-content-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-on-second-region-inline-content.html: Removed.
* fast/regions/shape-inside/shape-inside-recursive-layout-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-recursive-layout.html: Removed.
* fast/regions/shape-inside/shape-inside-with-region-borders-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-with-region-borders.html: Removed.
* fast/regions/shape-inside/shape-inside-with-region-padding-expected.html: Removed.
* fast/regions/shape-inside/shape-inside-with-region-padding.html: Removed.
* fast/shapes/css-shapes-disabled-expected.txt:
* fast/shapes/css-shapes-disabled.html:
* fast/shapes/css-shapes-enabled-expected.txt:
* fast/shapes/css-shapes-enabled.html:
* fast/shapes/parsing/parsing-shape-inside-expected.txt: Removed.
* fast/shapes/parsing/parsing-shape-inside.html: Removed.
* fast/shapes/parsing/parsing-shape-lengths-expected.txt:
* fast/shapes/parsing/parsing-shape-lengths.html:
* fast/shapes/parsing/parsing-shape-padding-expected.txt: Removed.
* fast/shapes/parsing/parsing-shape-padding.html: Removed.
* fast/shapes/parsing/parsing-test-utils.js:
* fast/shapes/resources/multi-segment-polygon.js: Removed.
* fast/shapes/resources/simple-polygon.js: Removed.
* fast/shapes/resources/simple-rectangle.js: Removed.
* fast/shapes/resources/svg-shape-001.svg: Removed.
* fast/shapes/shape-inside/floats/shape-inside-floats-simple-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-floats-simple.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-left-triangle-block-content-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-left-triangle-block-content.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-left-triangle-inline-content-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-left-triangle-inline-content.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-block-content-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-block-content.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-inline-content-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle-inline-content.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-lower-right-triangle.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-block-content-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-block-content.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-inline-content-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-inline-content.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-vertical-lr-inline-content-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-left-triangle-vertical-lr-inline-content.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle-block-content-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle-block-content.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle-inline-content-expected.html: Removed.
* fast/shapes/shape-inside/floats/shape-inside-left-float-in-upper-right-triangle-inline-content.html: Removed.
* fast/shapes/shape-inside/shape-inside-animation-expected.txt: Removed.
* fast/shapes/shape-inside/shape-inside-animation.html: Removed.
* fast/shapes/shape-inside/shape-inside-bottom-edge-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-bottom-edge.html: Removed.
* fast/shapes/shape-inside/shape-inside-box-sizing-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-box-sizing.html: Removed.
* fast/shapes/shape-inside/shape-inside-calc-crash-expected.txt: Removed.
* fast/shapes/shape-inside/shape-inside-calc-crash.html: Removed.
* fast/shapes/shape-inside/shape-inside-circle-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-circle-padding-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-circle-padding.html: Removed.
* fast/shapes/shape-inside/shape-inside-circle.html: Removed.
* fast/shapes/shape-inside/shape-inside-coincident-vertices-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-coincident-vertices.html: Removed.
* fast/shapes/shape-inside/shape-inside-collinear-vertices-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-collinear-vertices.html: Removed.
* fast/shapes/shape-inside/shape-inside-complex-polygon-001-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-complex-polygon-001.html: Removed.
* fast/shapes/shape-inside/shape-inside-complex-polygon-002-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-complex-polygon-002.html: Removed.
* fast/shapes/shape-inside/shape-inside-complex-polygon-003-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-complex-polygon-003.html: Removed.
* fast/shapes/shape-inside/shape-inside-complex-polygon-004-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-complex-polygon-004.html: Removed.
* fast/shapes/shape-inside/shape-inside-content-box-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-content-box.html: Removed.
* fast/shapes/shape-inside/shape-inside-counterclockwise-polygon-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-counterclockwise-polygon.html: Removed.
* fast/shapes/shape-inside/shape-inside-dynamic-nested-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-dynamic-nested.html: Removed.
* fast/shapes/shape-inside/shape-inside-dynamic-shape-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-dynamic-shape.html: Removed.
* fast/shapes/shape-inside/shape-inside-dynamic-text-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-dynamic-text.html: Removed.
* fast/shapes/shape-inside/shape-inside-ellipse-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-ellipse-padding-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-ellipse-padding.html: Removed.
* fast/shapes/shape-inside/shape-inside-ellipse.html: Removed.
* fast/shapes/shape-inside/shape-inside-empty-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-empty-polygon-crash-expected.txt: Removed.
* fast/shapes/shape-inside/shape-inside-empty-polygon-crash.html: Removed.
* fast/shapes/shape-inside/shape-inside-empty-segments-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-empty-segments.html: Removed.
* fast/shapes/shape-inside/shape-inside-empty.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-001-horizontal-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-001-horizontal.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-001-vertical-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-001-vertical.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-002-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-002.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-003-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-003.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-004-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-004.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-crash-expected.txt: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-crash.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-reflex-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-first-fit-reflex.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-001-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-001.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-002-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-002.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-003-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-003.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-004-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-004.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-005-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-005.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-set-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-image-set.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-blocks-dynamic-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-blocks-dynamic.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-blocks-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-blocks-vertical-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-blocks-vertical.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-blocks.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-segments-001-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-segments-001.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-segments-002-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-segments-002.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-segments-003-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-segments-003.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-segments-004-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-multiple-segments-004.html: Removed.
* fast/shapes/shape-inside/shape-inside-offset-block-children-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-offset-block-children.html: Removed.
* fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html: Removed.
* fast/shapes/shape-inside/shape-inside-outside-shape-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-outside-shape.html: Removed.
* fast/shapes/shape-inside/shape-inside-overflow-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-block-content-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-block-content.html: Removed.
* fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions.html: Removed.
* fast/shapes/shape-inside/shape-inside-overflow.html: Removed.
* fast/shapes/shape-inside/shape-inside-partial-fill-001-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-partial-fill-001.html: Removed.
* fast/shapes/shape-inside/shape-inside-partial-fill-002-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-partial-fill-002.html: Removed.
* fast/shapes/shape-inside/shape-inside-percentage-auto-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-percentage-auto.html: Removed.
* fast/shapes/shape-inside/shape-inside-percentage-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-percentage.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-layout-expected.txt: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-layout.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-padding-001-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-padding-001.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-padding-002-expected.txt: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-padding-002.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-padding-003-expected.txt: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-padding-003.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-rectangle-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-rectangle.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-zoom-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-polygon-zoom.html: Removed.
* fast/shapes/shape-inside/shape-inside-rectilinear-polygon-001-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-rectilinear-polygon-001.html: Removed.
* fast/shapes/shape-inside/shape-inside-rectilinear-polygon-002-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-rectilinear-polygon-002.html: Removed.
* fast/shapes/shape-inside/shape-inside-rectilinear-polygon-003-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-rectilinear-polygon-003.html: Removed.
* fast/shapes/shape-inside/shape-inside-rectilinear-polygon-004-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-rectilinear-polygon-004.html: Removed.
* fast/shapes/shape-inside/shape-inside-recursive-layout-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-recursive-layout.html: Removed.
* fast/shapes/shape-inside/shape-inside-regular-polygon16-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-regular-polygon16.html: Removed.
* fast/shapes/shape-inside/shape-inside-regular-polygon8-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-regular-polygon8.html: Removed.
* fast/shapes/shape-inside/shape-inside-shape-logical-top-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-shape-logical-top.html: Removed.
* fast/shapes/shape-inside/shape-inside-sibling-block-dimension-change-needs-relayout-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-sibling-block-dimension-change-needs-relayout.html: Removed.
* fast/shapes/shape-inside/shape-inside-simple-polygon-001-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-simple-polygon-001.html: Removed.
* fast/shapes/shape-inside/shape-inside-simple-polygon-002-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-simple-polygon-002.html: Removed.
* fast/shapes/shape-inside/shape-inside-simple-polygon-003-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-simple-polygon-003.html: Removed.
* fast/shapes/shape-inside/shape-inside-simple-polygon-004-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-simple-polygon-004.html: Removed.
* fast/shapes/shape-inside/shape-inside-subpixel-rectangle-top-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-subpixel-rectangle-top.html: Removed.
* fast/shapes/shape-inside/shape-inside-subsequent-blocks-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-subsequent-blocks.html: Removed.
* fast/shapes/shape-inside/shape-inside-subtract-intervals-crash-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-subtract-intervals-crash.html: Removed.
* fast/shapes/shape-inside/shape-inside-text-align-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-text-align.html: Removed.
* fast/shapes/shape-inside/shape-inside-text-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-text.html: Removed.
* fast/shapes/shape-inside/shape-inside-vertical-text-expected.html: Removed.
* fast/shapes/shape-inside/shape-inside-vertical-text.html: Removed.
* platform/gtk/TestExpectations:
* platform/win/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@166301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r166264.
https://bugs.webkit.org/show_bug.cgi?id=130785

Broke some window.opener tests for WK2 Mavericks (Requested by
brrian__ on #webkit).

Reverted changeset:

Source/WebCore:

"Web Replay: resource unique identifiers should be unique-per-
frame, not globally"
https://bugs.webkit.org/show_bug.cgi?id=130632
http://trac.webkit.org/changeset/166264

Tools:

"Web Replay: resource unique identifiers should be unique-per-
frame, not globally"
https://bugs.webkit.org/show_bug.cgi?id=130632
http://trac.webkit.org/changeset/166264

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@166302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Render tree construction is O(N^2) in number of siblings
https://bugs.webkit.org/show_bug.cgi?id=129065

Source/WebCore: 

Reviewed by Darin Adler.
        
When adding a new renderer to the tree we would search for the correct render tree
position by traversing DOM children forward to find something that already has a renderer.
In common case there is no such renderer. This would be repeated for each inserted renderer
leading to O(n^2) in respect to child node count.
        
This patch caches the computed render tree insertion position and passes it to siblings.
Until the cached position is reached it can be used for all new renderers.

Test: perf/sibling-renderer-On2.html

* style/StyleResolveTree.cpp:
(WebCore::Style::RenderTreePosition::parent):
(WebCore::Style::RenderTreePosition::RenderTreePosition):
(WebCore::Style::RenderTreePosition::canInsert):
(WebCore::Style::RenderTreePosition::insert):
(WebCore::Style::RenderTreePosition::computeNextSibling):
(WebCore::Style::RenderTreePosition::invalidateNextSibling):
(WebCore::Style::styleForElement):
(WebCore::Style::elementInsideRegionNeedsRenderer):
(WebCore::Style::createRendererIfNeeded):
(WebCore::Style::createTextRendererIfNeeded):
(WebCore::Style::attachTextRenderer):
(WebCore::Style::updateTextRendererAfterContentChange):
(WebCore::Style::attachChildren):
(WebCore::Style::attachDistributedChildren):
(WebCore::Style::attachShadowRoot):
(WebCore::Style::attachBeforeOrAfterPseudoElementIfNeeded):
(WebCore::Style::attachRenderTree):
(WebCore::Style::resolveLocal):
(WebCore::Style::resolveTextNode):
(WebCore::Style::resolveShadowTree):
(WebCore::Style::updateBeforeOrAfterPseudoElement):
(WebCore::Style::resolveTree):

LayoutTests: 

Reviewed by Darin Adler.

* perf/sibling-renderer-On2-expected.txt: Added.
* perf/sibling-renderer-On2.html: Added.
        
    The test doesn't use magnitude-perf.js as this requires a relatively long-running test function and
    it seemed unsuitable for that.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@166303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r162679): Poster image visible under the video
https://bugs.webkit.org/show_bug.cgi?id=130783

Reviewed by Simon Fraser.

In the listed revision, we started checking for isRenderImage()
instead of isImage(). RenderMedias return 'true' for the first
but 'false' for the second. Change the if() statement to check
for isRenderMedia() in addition to !isRenderImage().

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::isDirectlyCompositedImage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@166304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore: Unreviewed build fix.

* runtime/JSCell.h: VS2013 confused about argument type.

Source/WebCore: Unreviewed test correction.

Because of the way DRT on Windows links to WebCore, having the implementaion of the update
method in the header caused a runtime failure due to duplicate symbols being bound to the
compilation unit.

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::setEnhancedUserInterfaceAccessibility): Moved from header.
* accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::setEnhancedUserInterfaceAccessibility): Deleted.

Source/WebKit: Unreviewed build/test correction.

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Export the AXObjectCache::setEnhancedUserInterfaceEnabled
set function.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@166307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a custom behavior flag to GraphicsLayer, piped down to PlatformCALayer, for scrolling layers
https://bugs.webkit.org/show_bug.cgi?id=130778

Reviewed by Tim Horton.

Make it possible to put a "custom behavior" flag on a layer so that,
with UI-side compositing, we know to create a specific type of
layer or view for that GraphicsLayer.

Source/WebCore:

* WebCore.exp.in:
* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::GraphicsLayer):
* platform/graphics/GraphicsLayer.h:
(WebCore::GraphicsLayer::setCustomBehavior):
(WebCore::GraphicsLayer::customBehavior):
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
(WebCore::GraphicsLayerCA::updateCustomBehavior):
(WebCore::GraphicsLayerCA::setCustomBehavior):
* platform/graphics/ca/GraphicsLayerCA.h:
* platform/graphics/ca/PlatformCALayer.h:
* platform/graphics/ca/mac/PlatformCALayerMac.h:
* platform/graphics/ca/mac/PlatformCALayerMac.mm:
(PlatformCALayerMac::PlatformCALayerMac):
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateScrollingLayers):

Source/WebKit2:

* Shared/mac/RemoteLayerTreeTransaction.h:
* Shared/mac/RemoteLayerTreeTransaction.mm:
(WebKit::RemoteLayerTreeTransaction::LayerProperties::LayerProperties):
(WebKit::RemoteLayerTreeTransaction::LayerProperties::encode):
(WebKit::RemoteLayerTreeTransaction::LayerProperties::decode):
(WebKit::dumpChangedLayers):
* WebProcess/WebPage/mac/PlatformCALayerRemote.cpp:
(PlatformCALayerRemote::customBehavior):
(PlatformCALayerRemote::updateCustomBehavior):
* WebProcess/WebPage/mac/PlatformCALayerRemote.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@166308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r155977): matrix animations no longer animate
https://bugs.webkit.org/show_bug.cgi?id=130789
<rdar://problem/15650946>

Source/WebCore:

Reviewed by Dean Jackson.

r155977 erroneously removed two lines that set the end points for
matrix animations (used when transform lists don't match), so
put them back.

Also don't repaint when updateContentsScale()
is called and doesn't change the contents scale.

Test: compositing/animation/matrix-animation.html

* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::updateRootRelativeScale):
(WebCore::GraphicsLayerCA::setTransformAnimationEndpoints):
(WebCore::GraphicsLayerCA::updateContentsScale):

LayoutTests:

Reviewed by Dean Jackson.

Add test for fill-fowards animation with mismatched transform lists.

* compositing/animation/matrix-animation-expected.html: Added.
* compositing/animation/matrix-animation.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@166309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the Windows build. Add a no-op impl for Mac non-UI-side.

* platform/graphics/ca/mac/PlatformCALayerMac.h:
* platform/graphics/ca/win/PlatformCALayerWin.cpp:
(PlatformCALayerWin::PlatformCALayerWin):
* platform/graphics/ca/win/PlatformCALayerWin.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@166310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix OS X build.

* WebCore.exp.in: Add missing export symbol.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@166311 268f45cc-cd09-0410-ab3c-d52691b4dbfc