[Qt] Unreviewed gardening.

Correcting rebaseline done in r140959.

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2013-01-28

* platform/qt-5.0-wk1/compositing/absolute-inside-out-of-view-fixed-expected.txt: Renamed from LayoutTests/platform/qt/compositing/absolute-inside-out-of-view-fixed-expected.txt.
* platform/qt-5.0-wk1/compositing/backing/no-backing-for-clip-overlap-expected.txt: Copied from LayoutTests/platform/qt/compositing/backing/no-backing-for-clip-overlap-expected.txt.
* platform/qt-5.0-wk1/compositing/bounds-in-flipped-writing-mode-expected.txt: Renamed from LayoutTests/platform/qt/compositing/bounds-in-flipped-writing-mode-expected.txt.
* platform/qt-5.0-wk1/compositing/clip-child-by-non-stacking-ancestor-expected.txt: Renamed from LayoutTests/platform/qt/compositing/clip-child-by-non-stacking-ancestor-expected.txt.
* platform/qt-5.0-wk1/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt: Renamed from LayoutTests/platform/qt/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt.
* platform/qt-5.0-wk1/compositing/filters/sw-nested-shadow-overlaps-hw-nested-shadow-expected.txt: Renamed from LayoutTests/platform/qt/compositing/filters/sw-nested-shadow-overlaps-hw-nested-shadow-expected.txt.
* platform/qt-5.0-wk1/compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt: Renamed from LayoutTests/platform/qt/compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt.
* platform/qt-5.0-wk1/compositing/filters/sw-shadow-overlaps-hw-shadow-expected.txt: Renamed from LayoutTests/platform/qt/compositing/filters/sw-shadow-overlaps-hw-shadow-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/bounds-clipped-composited-child-expected.png: Renamed from LayoutTests/platform/qt/compositing/geometry/bounds-clipped-composited-child-expected.png.
* platform/qt-5.0-wk1/compositing/geometry/bounds-clipped-composited-child-expected.txt: Renamed from LayoutTests/platform/qt/compositing/geometry/bounds-clipped-composited-child-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/bounds-ignores-hidden-dynamic-expected.png: Renamed from LayoutTests/platform/qt/compositing/geometry/bounds-ignores-hidden-dynamic-expected.png.
* platform/qt-5.0-wk1/compositing/geometry/bounds-ignores-hidden-dynamic-expected.txt: Renamed from LayoutTests/platform/qt/compositing/geometry/bounds-ignores-hidden-dynamic-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Copied from LayoutTests/platform/qt/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png.
* platform/qt-5.0-wk1/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Renamed from LayoutTests/platform/qt/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/bounds-ignores-hidden-expected.txt: Renamed from LayoutTests/platform/qt/compositing/geometry/bounds-ignores-hidden-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/clip-expected.txt: Renamed from LayoutTests/platform/qt/compositing/geometry/clip-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/clip-inside-expected.txt: Renamed from LayoutTests/platform/qt/compositing/geometry/clip-inside-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/composited-in-columns-expected.png: Renamed from LayoutTests/platform/qt/compositing/geometry/composited-in-columns-expected.png.
* platform/qt-5.0-wk1/compositing/geometry/composited-in-columns-expected.txt: Renamed from LayoutTests/platform/qt/compositing/geometry/composited-in-columns-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/flipped-writing-mode-expected.png: Renamed from LayoutTests/platform/qt/compositing/geometry/flipped-writing-mode-expected.png.
* platform/qt-5.0-wk1/compositing/geometry/flipped-writing-mode-expected.txt: Renamed from LayoutTests/platform/qt/compositing/geometry/flipped-writing-mode-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/foreground-layer-expected.png: Renamed from LayoutTests/platform/qt/compositing/geometry/foreground-layer-expected.png.
* platform/qt-5.0-wk1/compositing/geometry/foreground-layer-expected.txt: Renamed from LayoutTests/platform/qt/compositing/geometry/foreground-layer-expected.txt.
* platform/qt-5.0-wk1/compositing/geometry/preserve-3d-switching-expected.txt: Copied from LayoutTests/platform/qt/compositing/geometry/preserve-3d-switching-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/become-composited-nested-iframes-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/become-composited-nested-iframes-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/become-overlapped-iframe-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/become-overlapped-iframe-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/composited-parent-iframe-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/composited-parent-iframe-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/connect-compositing-iframe-delayed-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/connect-compositing-iframe-delayed-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/connect-compositing-iframe-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/connect-compositing-iframe-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/connect-compositing-iframe2-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/connect-compositing-iframe2-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/connect-compositing-iframe3-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/connect-compositing-iframe3-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/enter-compositing-iframe-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/enter-compositing-iframe-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/iframe-resize-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/iframe-resize-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/overlapped-iframe-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/overlapped-iframe-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/overlapped-iframe-iframe-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/overlapped-iframe-iframe-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/overlapped-nested-iframes-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/overlapped-nested-iframes-expected.txt.
* platform/qt-5.0-wk1/compositing/iframes/scrolling-iframe-expected.txt: Renamed from LayoutTests/platform/qt/compositing/iframes/scrolling-iframe-expected.txt.
* platform/qt-5.0-wk1/compositing/images/clip-on-directly-composited-image-expected.txt: Renamed from LayoutTests/platform/qt/compositing/images/clip-on-directly-composited-image-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/animation-overlap-with-children-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/animation-overlap-with-children-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/fixed-position-out-of-view-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/fixed-position-out-of-view-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/fixed-position-under-transform-expected.png: Renamed from LayoutTests/platform/qt/compositing/layer-creation/fixed-position-under-transform-expected.png.
* platform/qt-5.0-wk1/compositing/layer-creation/fixed-position-under-transform-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/fixed-position-under-transform-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/no-compositing-for-fixed-position-under-transform-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/no-compositing-for-fixed-position-under-transform-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/overflow-scroll-overlap-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/overflow-scroll-overlap-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/overlap-animation-clipping-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/overlap-animation-clipping-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/overlap-animation-container-expected.txt: Copied from LayoutTests/platform/qt/compositing/layer-creation/overlap-animation-container-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/overlap-child-layer-expected.png: Renamed from LayoutTests/platform/qt/compositing/layer-creation/overlap-child-layer-expected.png.
* platform/qt-5.0-wk1/compositing/layer-creation/overlap-child-layer-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/overlap-child-layer-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/overlap-transformed-layer-expected.png: Renamed from LayoutTests/platform/qt/compositing/layer-creation/overlap-transformed-layer-expected.png.
* platform/qt-5.0-wk1/compositing/layer-creation/overlap-transformed-layer-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/overlap-transformed-layer-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/rotate3d-overlap-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/rotate3d-overlap-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/stacking-context-overlap-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/stacking-context-overlap-expected.txt.
* platform/qt-5.0-wk1/compositing/layer-creation/stacking-context-overlap-nested-expected.txt: Renamed from LayoutTests/platform/qt/compositing/layer-creation/stacking-context-overlap-nested-expected.txt.
* platform/qt-5.0-wk1/compositing/masks/mask-layer-size-expected.txt: Renamed from LayoutTests/platform/qt/compositing/masks/mask-layer-size-expected.txt.
* platform/qt-5.0-wk1/compositing/repaint/resize-repaint-expected.txt: Renamed from LayoutTests/platform/qt/compositing/repaint/resize-repaint-expected.txt.
* platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-absolute-expected.png: Renamed from LayoutTests/platform/qt/compositing/rtl/rtl-iframe-absolute-expected.png.
* platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-absolute-expected.txt: Renamed from LayoutTests/platform/qt/compositing/rtl/rtl-iframe-absolute-expected.txt.
* platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-fixed-expected.png: Renamed from LayoutTests/platform/qt/compositing/rtl/rtl-iframe-fixed-expected.png.
* platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-fixed-expected.txt: Renamed from LayoutTests/platform/qt/compositing/rtl/rtl-iframe-fixed-expected.txt.
* platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-relative-expected.png: Renamed from LayoutTests/platform/qt/compositing/rtl/rtl-iframe-relative-expected.png.
* platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-relative-expected.txt: Renamed from LayoutTests/platform/qt/compositing/rtl/rtl-iframe-relative-expected.txt.
* platform/qt-5.0-wk1/compositing/tiling/backface-preserve-3d-tiled-expected.png: Renamed from LayoutTests/platform/qt/compositing/tiling/backface-preserve-3d-tiled-expected.png.
* platform/qt-5.0-wk1/compositing/tiling/backface-preserve-3d-tiled-expected.txt: Renamed from LayoutTests/platform/qt/compositing/tiling/backface-preserve-3d-tiled-expected.txt.
* platform/qt-5.0-wk1/compositing/tiling/huge-layer-img-expected.png: Renamed from LayoutTests/platform/qt/compositing/tiling/huge-layer-img-expected.png.
* platform/qt-5.0-wk1/compositing/tiling/huge-layer-img-expected.txt: Renamed from LayoutTests/platform/qt/compositing/tiling/huge-layer-img-expected.txt.
* platform/qt-5.0-wk1/compositing/tiling/rotated-tiled-clamped-expected.png: Renamed from LayoutTests/platform/qt/compositing/tiling/rotated-tiled-clamped-expected.png.
* platform/qt-5.0-wk1/compositing/tiling/rotated-tiled-clamped-expected.txt: Renamed from LayoutTests/platform/qt/compositing/tiling/rotated-tiled-clamped-expected.txt.
* platform/qt-5.0-wk1/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.png: Renamed from LayoutTests/platform/qt/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.png.
* platform/qt-5.0-wk1/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt: Renamed from LayoutTests/platform/qt/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt.
* platform/qt-5.0-wk1/compositing/tiling/tiled-layer-resize-expected.txt: Renamed from LayoutTests/platform/qt/compositing/tiling/tiled-layer-resize-expected.txt.
* platform/qt-5.0-wk1/compositing/visibility/layer-visible-content-expected.png: Renamed from LayoutTests/platform/qt/compositing/visibility/layer-visible-content-expected.png.
* platform/qt-5.0-wk1/compositing/visibility/layer-visible-content-expected.txt: Renamed from LayoutTests/platform/qt/compositing/visibility/layer-visible-content-expected.txt.
* platform/qt-5.0-wk1/compositing/visibility/visibility-image-layers-dynamic-expected.txt: Renamed from LayoutTests/platform/qt/compositing/visibility/visibility-image-layers-dynamic-expected.txt.
* platform/qt-5.0-wk1/css3/filters/composited-during-transition-layertree-expected.txt: Copied from LayoutTests/platform/qt/css3/filters/composited-during-transition-layertree-expected.txt.
* platform/qt-5.0-wk1/css3/filters/filtered-compositing-descendant-expected.png: Renamed from LayoutTests/platform/qt/css3/filters/filtered-compositing-descendant-expected.png.
* platform/qt-5.0-wk1/css3/filters/filtered-compositing-descendant-expected.txt: Renamed from LayoutTests/platform/qt/css3/filters/filtered-compositing-descendant-expected.txt.
* platform/qt/compositing/backing/no-backing-for-clip-overlap-expected.txt:
* platform/qt/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png:
* platform/qt/compositing/geometry/preserve-3d-switching-expected.txt:
* platform/qt/compositing/layer-creation/overlap-animation-container-expected.txt:
* platform/qt/css3/filters/composited-during-transition-layertree-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Exclusions] Refactor ExclusionShapeInsideInfo to more general ExclusionShapeInfo
https://bugs.webkit.org/show_bug.cgi?id=100766

Patch by Bear Travis <betravis@adobe.com> on 2013-01-28
Reviewed by Dirk Schulze.

Refactoring, covered by existing tests.

Factoring out code common to ExclusionShapeInsideInfo and ExclusionShapeOutsideInfo
into common classes in ExclusionShapeInfo.h. Since the ExclusionShapeInsideInfo and
ExclusionShapeOutsideInfo share almost all of their code, save the RenderObject type
they work with and the specific shapeInside/Outside methods they call on RenderStyle
and ExclusionShape, the code has been templated. The code responsible for maintaining
global maps has also been factored out into a MappedInfo class.

* CMakeLists.txt: Adding ExclusionShapeInfo files.
* GNUmakefile.list.am: Ditto.
* Target.pri: Ditto.
* WebCore.gypi: Ditto.
* WebCore.vcproj/WebCore.vcproj: Ditto.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* rendering/ExclusionShapeInfo.cpp: Added.
(WebCore::::computedShape): Determine the shape based on the current logical
dimensions. Call this method rather than accessing m_shape directly.
* rendering/ExclusionShapeInfo.h: Added.
(MappedInfo): Helper class that maintains a global info map.
(WebCore::MappedInfo::ensureInfo): Look up the info for a key and add it if not present.
(WebCore::MappedInfo::removeInfo): Remove the info associated with a key.
(WebCore::MappedInfo::info): Look up the info associated with a key.
(WebCore::MappedInfo::infoMap): The map used to store key/info pairs.
(ExclusionShapeInfo): A common parent class for ExclusionShapeInside/OutsideInfos.
The methods were factored out of the code common to ExclusionShapeInside/OutsideInfo.
(WebCore::ExclusionShapeInfo::~ExclusionShapeInfo): Destructor.
(WebCore::ExclusionShapeInfo::setShapeSize): Sets the shape's logical size.
(WebCore::ExclusionShapeInfo::shapeLogicalTop/Bottom/Left/Right/Width/Height):
Returns the shape's logical dimensions.
(WebCore::ExclusionShapeInfo::dirtyShapeSize): Mark the shape for recomputation.
(WebCore::ExclusionShapeInfo::owner): The renderer to which this info belongs.
(WebCore::ExclusionShapeInfo::ExclusionShapeInfo): Constructor.
(WebCore::ExclusionShapeInfo::floatLogicalTopToLayoutUnit/floatLogicalBottomToLayoutUnit):
Helper methods that round float units from ExclusionShapes to LayoutUnits for layout.
* rendering/ExclusionShapeInsideInfo.cpp:
(WebCore::ExclusionShapeInsideInfo::computeSegmentsForLine): Modified to use
computedShape() rather than m_shape.
(WebCore::ExclusionShapeInsideInfo::adjustLogicalLineTop): Ditto.
* rendering/ExclusionShapeInsideInfo.h:
(WebCore::ExclusionShapeInsideInfo::createInfo): Renamed to match MappedInfo.
(WebCore::ExclusionShapeInsideInfo::isEnabledFor): Renamed to match shorter naming.
(WebCore::ExclusionShapeInsideInfo::lineOverlapsShapeBounds): Modified to use
computedShape().
* rendering/ExclusionShapeOutsideInfo.cpp:
(WebCore::ExclusionShapeOutsideInfo::isEnabledFor): Renamed to match shorter naming.
* rendering/ExclusionShapeOutsideInfo.h:
(WebCore::ExclusionShapeOutsideInfo::createInfo): Renamed to match MappedInfo.
(WebCore::ExclusionShapeOutsideInfo::ExclusionShapeOutsideInfo): Constructor.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::willBeDestroyed): Use shortened MappedInfo names for looking
up infos.
(WebCore::RenderBlock::exclusionShapeInsideInfo): Ditto.
(WebCore::RenderBlock::updateExclusionShapeInsideInfoAfterStyleChange): Ditto.
(WebCore::RenderBlock::computeExclusionShapeSize): Ditto.
* rendering/RenderBox.cpp:
(WebCore::RenderBox::willBeDestroyed): Ditto.
(WebCore::RenderBox::updateExclusionShapeOutsideInfoAfterStyleChange): Ditto.
* rendering/RenderBox.h:
(WebCore):
(WebCore::RenderBox::exclusionShapeOutsideInfo): Ditto.

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